better patch, allows several libs to have distinct numbers.

This commit is contained in:
espie 2005-12-29 14:22:48 +00:00
parent a2d612ec10
commit 6122ba2169
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
-SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN).$(VER_PATCH)
-SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -Bshareable $(LFLAGS) -o $(DESTDIR)$(SYSCONF_LINK_TARGET_SHARED) `lorder /usr/lib/c++rt0.o $(OBJECTS) $(OBJMOC) | tsort` $(LIBS)
+SYSCONF_LINK_SHLIB = $(SYS_CXX) -shared -fPIC
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(LIBqt_VERSION)
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(LIB$(TARGET)_VERSION)
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) $(LFLAGS) -o $(DESTDIR)$(SYSCONF_LINK_TARGET_SHARED) $(OBJECTS) $(OBJMOC) $(LIBS)
# Linking static libraries

View File

@ -65,7 +65,7 @@
-SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN).$(VER_PATCH)
-SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -Bshareable $(LFLAGS) -o $(DESTDIR)$(SYSCONF_LINK_TARGET_SHARED) `lorder /usr/lib/c++rt0.o $(OBJECTS) $(OBJMOC) | tsort` $(LIBS)
+SYSCONF_LINK_SHLIB = $(SYS_CXX) -shared -fPIC
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(LIBqt_VERSION)
+SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(LIB$(TARGET)_VERSION)
+SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) $(LFLAGS) -o $(DESTDIR)$(SYSCONF_LINK_TARGET_SHARED) $(OBJECTS) $(OBJMOC) $(LIBS)
# Linking static libraries