configure: Run SHFLAGS through ldflags_filter()
authorSean McGovern <gseanmcg@gmail.com>
Mon, 14 Jan 2013 17:52:00 +0000 (12:52 -0500)
committerDiego Biurrun <diego@biurrun.de>
Fri, 18 Jan 2013 18:10:29 +0000 (19:10 +0100)
These flags are as linker-specific as other LDFLAGS and thus
need to be translated to the correct linker syntax.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
configure

index f7350b3..b4ffbe6 100755 (executable)
--- a/configure
+++ b/configure
@@ -3892,7 +3892,7 @@ LD_PATH=$LD_PATH
 DLLTOOL=$dlltool
 LDFLAGS=$LDFLAGS
 LDFLAGS-avserver=$AVSERVERLDFLAGS
-SHFLAGS=$SHFLAGS
+SHFLAGS=$(echo $($ldflags_filter $SHFLAGS))
 YASMFLAGS=$YASMFLAGS
 BUILDSUF=$build_suffix
 FULLNAME=$FULLNAME