replace some $@ with $(SLIBNAME_WITH_MAJOR) in SHFLAGS
authorMåns Rullgård <mans@mansr.com>
Thu, 3 Apr 2008 22:29:23 +0000 (22:29 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 3 Apr 2008 22:29:23 +0000 (22:29 +0000)
Originally committed as revision 12680 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f7630c679fb5918fe4ea9a973565820d07f8b9a7..cefa343dbd782772806f01c3c10d4e67f76d95b2 100755 (executable)
--- a/configure
+++ b/configure
@@ -924,7 +924,7 @@ enable stripping
 vhook="default"
 
 # build settings
-SHFLAGS='-shared -Wl,-soname,$@'
+SHFLAGS='-shared -Wl,-soname,$(SLIBNAME_WITH_MAJOR)'
 VHOOKSHFLAGS='$(SHFLAGS)'
 LDLATEFLAGS='-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec -Wl,-rpath-link,\$(BUILD_ROOT)/libavformat -Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'
 FFSERVERLDFLAGS=-Wl,-E
@@ -1078,7 +1078,7 @@ case $target_os in
         fi ;;
     sunos)
         FFSERVERLDFLAGS=""
-        SHFLAGS='-shared -Wl,-h,$@'
+        SHFLAGS='-shared -Wl,-h,$(SLIBNAME_WITH_MAJOR)'
         network_extralibs="-lsocket -lnsl"
         ;;
     netbsd)