From 422ac82ef9ff77aa61b51acf7b1ee1ee4c9d4ccb Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 3 Oct 2007 15:46:02 +0000 Subject: librc.so and libeinfo.so now have symbol versions. --- src/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 2c246381..cab62f69 100644 --- a/src/Makefile +++ b/src/Makefile @@ -108,14 +108,20 @@ all: .depend $(TARGET) $(LIBEINFOOBJS): $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -$(LIBEINFOSO): $(LIBEINFOOBJS) - $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(LIBEINFOSO) -o $(LIBEINFOSO) $(LIBEINFOOBJS) $(LDLIBS) $(LDLIBS_LIBEINFO) +$(LIBEINFOSO): einfo.map $(LIBEINFOOBJS) + $(CC) $(LDFLAGS) -fPIC -shared \ + -Wl,-soname,$(LIBEINFOSO) \ + -Wl,-version-script einfo.map \ + -o $(LIBEINFOSO) $(LIBEINFOOBJS) $(LDLIBS) $(LDLIBS_LIBEINFO) ln -sf $(LIBEINFOSO) libeinfo.so $(LIBRCOBJS): $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -$(LIBRCSO): $(LIBRCOBJS) - $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LIBRCOBJS) $(LDLIBS) $(LDLIBS_LIBRC) +$(LIBRCSO): rc.map $(LIBRCOBJS) + $(CC) $(LDFLAGS) -fPIC -shared \ + -Wl,-soname,$(LIBRCSO) \ + -Wl,-version-script rc.map \ + -o $(LIBRCSO) $(LIBRCOBJS) $(LDLIBS) $(LDLIBS_LIBRC) ln -sf $(LIBRCSO) librc.so $(RCOBJS): -- cgit v1.2.3