summaryrefslogtreecommitdiff
path: root/tools/gst-element-maker
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-02-17 13:20:46 -0800
committerDavid Schleef <ds@schleef.org>2011-02-17 14:08:09 -0800
commitfedcf43e29c4bf82c54dd088f931d873026664e8 (patch)
tree7f3765d8c99f6c03ffa3a210b93008500137d715 /tools/gst-element-maker
parent5a1132aaf1038d25ebad267e78063488eb147692 (diff)
element-maker: do test build with -fPIC
Diffstat (limited to 'tools/gst-element-maker')
-rwxr-xr-xtools/gst-element-maker2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gst-element-maker b/tools/gst-element-maker
index 53145bc3a..53b26cac8 100755
--- a/tools/gst-element-maker
+++ b/tools/gst-element-maker
@@ -377,7 +377,7 @@ gst-indent $gstreplace.c
echo pkg is $pkg
-gcc -Wall $(pkg-config --cflags gstreamer-0.10 $pkg) -c -o $gstreplace.o $gstreplace.c
+gcc -Wall -fPIC $(pkg-config --cflags gstreamer-0.10 $pkg) -c -o $gstreplace.o $gstreplace.c
gcc -shared -o $gstreplace.so $gstreplace.o $(pkg-config --libs gstreamer-0.10 $pkg)