diff options
author | Roy Marples <roy@marples.name> | 2007-10-03 15:46:02 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-03 15:46:02 +0000 |
commit | 422ac82ef9ff77aa61b51acf7b1ee1ee4c9d4ccb (patch) | |
tree | 32868faac883f9a8edc003167d5eb413cc075ed6 /src/Makefile | |
parent | 6d5ac5716b96c42dc95a21a4d246377f906d365e (diff) |
librc.so and libeinfo.so now have symbol versions.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
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): |