]> git.sesse.net Git - mlt/blobdiff - configure
Fix over- and under-linking.
[mlt] / configure
index f87bc3593702053fa842fbd1cb74bd01b6d727b9..894b5d80848a7093d3830b0f66994aee506f999c 100755 (executable)
--- a/configure
+++ b/configure
@@ -64,6 +64,7 @@ build_config()
                echo "OPTIMISATIONS=-O2 -pipe -fomit-frame-pointer"
 
                echo "CFLAGS+=-Wall -fPIC -DPIC \$(TARGETARCH) \$(TARGETCPU) \$(OPTIMISATIONS) \$(MMX_FLAGS) \$(SSE_FLAGS) \$(DEBUG_FLAGS) \$(LARGE_FILE)"
+               echo "LDFLAGS+=-Wl,--as-needed"
 
                case $targetos in
                Darwin)