swig/{java,python,tcl}/build: fix linking error __stack_chk_fail_local.
[melted] / mlt++ / swig / tcl / build
index cb7cd63..4b2b32b 100755 (executable)
@@ -13,7 +13,7 @@ then
        g++ -D_GNU_SOURCE -c -rdynamic -pthread -I../../src `pkg-config mlt-framework --cflags` mltpp_wrap.cxx || exit 1
 
        # Create the module
-       ld -shared mltpp_wrap.o -L../../src -lmlt++ -o mltpp.so || exit 1
+       gcc -shared mltpp_wrap.o -L../../src -lmlt++ -o mltpp.so || exit 1
 else
        echo "Unable to locate tclsh."
        exit 1