Fix the version of symbols in the libcdio_paranoia library.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.am,v 1.3 2005/09/20 00:45:45 rocky Exp $
|
||||
# $Id: Makefile.am,v 1.4 2005/09/20 16:36:48 nboullis Exp $
|
||||
#
|
||||
# Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
#
|
||||
@@ -141,7 +141,7 @@ libcdio_paranoia_la_LDFLAGS = $(libcdio_paranoia_la_ldflags) -Wl,--version-scrip
|
||||
libcdio_paranoia_la_DEPENDENCIES = libcdio_paranoia.la.ver
|
||||
|
||||
libcdio_paranoia.la.ver: $(libcdio_paranoia_la_OBJECTS) $(srcdir)/libcdio_paranoia.sym
|
||||
echo 'CDIO_CDDA_$(libcdio_paranoia_la_MAJOR) { ' > $@
|
||||
echo 'CDIO_PARANOIA_$(libcdio_paranoia_la_MAJOR) { ' > $@
|
||||
objs=`for obj in $(libcdio_paranoia_la_OBJECTS); do sed -ne "s/^pic_object='\(.*\)'$$/\1/p" $$obj; done`; \
|
||||
nm $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_paranoia.sym; then if test $$first = true; then echo " global:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@; \
|
||||
nm $${objs} | sed -n -e 's/^.*[ ][ABCDGIRSTW][ABCDGIRSTW]*[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$$/\1/p' | sort -u | { first=true; while read symbol; do if grep -q "^$${symbol}\$$" $(srcdir)/libcdio_paranoia.sym; then :; else if test $$first = true; then echo " local:"; first=false; fi; echo " $${symbol};"; fi; done; } >> $@
|
||||
|
||||
Reference in New Issue
Block a user