1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Only include the major version of the shared library in the SONAME, not
the major and minor version. The minor version corresonds to patch
releases of the package, which shouldn't break the ABI.
Probably suitable upstream as well (and applicable to all of the other
cases, not just Linux).
Index: xml-security-c/src/configure.ac
===================================================================
--- xml-security-c.orig/src/configure.ac 2006-05-24 16:22:50.000000000 -0700
+++ xml-security-c/src/configure.ac 2006-05-24 16:46:14.000000000 -0700
@@ -242,7 +242,7 @@ case "${host}" in
PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DLINUX"]
CC1=["${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
CC4=["${CC} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
- MAKE_SHARED=["${CXX} ${CXXFLAGS} -Wl,-soname,\$(LIBNAME) -DLINUX -shared ${PIC}"]
+ MAKE_SHARED=["${CXX} ${CXXFLAGS} -Wl,-soname,\$(LIBMAJORNAME) -DLINUX -shared ${PIC}"]
LINK=["${CXX} ${CXXFLAGS} -DLINUX -ldl ${PIC}"]
LINK_COMMAND_1=["(cd \$(LIB_DIR) ; rm -f \$(LIBMAJORNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBMAJORNAME))"]
LINK_COMMAND_2=["(cd \$(LIB_DIR) ; rm -f \$(LIBSHORTNAME) ; \$(LN_S) \$(LIBNAME) \$(LIBSHORTNAME))"]
|