Skip to contentSkip to conversation

add support for symbol prefixes in shared libraries

PATCH Applied Mike Frysinger 2 participants 2 messages Jan 12, 2007 – Jan 17, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add support for symbol prefixes in shared libraries

attached patch updates the Version script so that it supports SYMBOL_PREFIX -mike

configure.in +2 -1
diff -r 4b305d56a1f0 configure.in
@@ -114,6 +114,7 @@ SYMBOL_PREFIX=` \
 		| ${EGREP-grep} "^PREFIX=" \
 		| ${SED-sed} "s:^PREFIX=::"`
 AC_DEFINE_UNQUOTED([__SYMBOL_PREFIX], "$SYMBOL_PREFIX", [Toolchain Symbol Prefix])
+AC_SUBST(SYMBOL_PREFIX)
 AC_MSG_RESULT($SYMBOL_PREFIX)
 
 dnl Check for debug...
@@ -384,7 +385,7 @@ fi
 fi
 
 AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
-	  include/sound/Makefile src/Makefile \
+	  include/sound/Makefile src/Versions src/Makefile \
           src/control/Makefile src/mixer/Makefile \
 	  src/pcm/Makefile src/pcm/scopes/Makefile \
 	  src/rawmidi/Makefile src/timer/Makefile \
src/Makefile.am +1 -1
diff -r 4b305d56a1f0 src/Makefile.am
@@ -2,7 +2,7 @@ COMPATNUM=@LIBTOOL_VERSION_INFO@
 COMPATNUM=@LIBTOOL_VERSION_INFO@
 
 if VERSIONED_SYMBOLS
-VSYMS = -Wl,--version-script=$(srcdir)/Versions
+VSYMS = -Wl,--version-script=Versions
 else
 VSYMS =
 endif
src/Versions deleted +0 -298

298 lines not on this page · raw message

src/Versions.in new file +298 -0

298 lines not on this page · raw message

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Applied
#1 lore raw

At Fri, 12 Jan 2007 14:05:33 -0500,

Quoted 3 lines · Mike Frysinger

attached patch updates the Version script so that it supports SYMBOL_PREFIX -mike

Applied to ALSA HG tree. Thanks.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV