diff options
author | Mans Rullgard <mans@mansr.com> | 2010-10-15 11:31:58 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-18 20:48:24 +0000 |
commit | fef2d66166105659b0e30523ab8dd4f52c035bf1 (patch) | |
tree | c992d8ea49cecf57ea956c504529cc3541d00f67 | |
parent | 324e7ee260b16d33a14c8a1a9909fa54bf1e996b (diff) | |
download | ffmpeg-fef2d66166105659b0e30523ab8dd4f52c035bf1.tar.gz |
Use -Bsymbolic for shared libs only, not executables
Some linkers fail if this flag is used when creating an executable file.
Since the flag is meaningful only for shared libraries, dropping it from
the main link flags is correct.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2899,7 +2899,7 @@ enabled extra_warnings && check_cflags -Winline check_ldflags -Wl,--warn-common check_ldflags -Wl,--as-needed check_ldflags '-Wl,-rpath-link,\$(BUILD_ROOT)/libpostproc -Wl,-rpath-link,\$(BUILD_ROOT)/libswscale -Wl,-rpath-link,\$(BUILD_ROOT)/libavfilter -Wl,-rpath-link,\$(BUILD_ROOT)/libavdevice -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavcore -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil' -check_ldflags -Wl,-Bsymbolic +test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic echo "X{};" > $TMPV if test_ldflags -Wl,--version-script,$TMPV; then |