The Solaris/Linux symbol export files must be named "mapfile" (see the
definition of SHLIB_LINKER for Solaris).
case ${SYS_NAME} in \
*_linux*) \
${SHLIB_LINKER} -Wl,-h,libafssetpag.so.${LIBAFSSETPAGMAJOR} \
- -o ${LIBAFSSETPAG} -Wl,--version-script=afssetpag.map \
+ -o ${LIBAFSSETPAG} -Wl,--version-script=mapfile \
${SHLIBOBJS};; \
rs_aix4*) \
${SHLIB_LINKER} -o ${LIBAFSSETPAG} ${SHLIBOBJS} \
-bE:afssetpag.exp;; \
sun*_5*) \
${SHLIB_LINKER} -h libafssetpag.so.${LIBAFSSETPAGMAJOR} \
- -Wl,-M afssetpag.map -o ${LIBAFSSETPAG} ${SHLIBOBJS};; \
+ -o ${LIBAFSSETPAG} ${SHLIBOBJS};; \
*) \
${SHLIB_LINKER} -o ${LIBAFSSETPAG} ${SHLIBOBJS};; \
esac
+++ /dev/null
-# Export map for libafssetpag, used on Linux and Solaris to restrict
-# exports from the shared libraries to just the public ABI. Add symbol
-# versioning while we're at it, just in case.
-
-AFSSETPAG_1.0 {
- global:
- lsetpag;
- local:
- *;
-};
--- /dev/null
+# Export map for libafssetpag, used on Linux and Solaris to restrict
+# exports from the shared libraries to just the public ABI. Add symbol
+# versioning while we're at it, just in case.
+
+AFSSETPAG_1.0 {
+ global:
+ lsetpag;
+ local:
+ *;
+};