| 1 | --- m4/buildsys.m4.orig 2010-06-13 12:23:13.000000000 -0500 |
| 2 | +++ m4/buildsys.m4 2010-06-14 22:09:03.000000000 -0500 |
| 3 | @@ -57,13 +57,13 @@ |
| 4 | AC_MSG_RESULT(Darwin) |
| 5 | LIB_CPPFLAGS='-DPIC' |
| 6 | LIB_CFLAGS='-fPIC' |
| 7 | - LIB_LDFLAGS='-dynamiclib -flat_namespace' |
| 8 | + LIB_LDFLAGS='-dynamiclib -current_version ${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR} -install_name ${libdir}/${LIB}' |
| 9 | LIB_PREFIX='lib' |
| 10 | LIB_SUFFIX='.dylib' |
| 11 | LDFLAGS_RPATH='-Wl,-rpath,${libdir}' |
| 12 | PLUGIN_CPPFLAGS='-DPIC' |
| 13 | PLUGIN_CFLAGS='-fPIC' |
| 14 | - PLUGIN_LDFLAGS='-bundle -flat_namespace -undefined suppress' |
| 15 | + PLUGIN_LDFLAGS='-bundle -undefined dynamic_lookup' |
| 16 | PLUGIN_SUFFIX='.impl' |
| 17 | INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i' |
| 18 | UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib' |