These flags are as linker-specific as other LDFLAGS and thus
need to be translated to the correct linker syntax.
---

Tested to work and more correct than previous attempts to fix the issue.

 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 375865e..e422b60 100755
--- a/configure
+++ b/configure
@@ -3596,6 +3596,7 @@ check_cflags -Wstrict-prototypes
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags
+SHFLAGS=$($ldflags_filter "$SHFLAGS")
 check_ldflags -Wl,--warn-common
 check_ldflags 
-Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
 test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to