# HG changeset patch # User mhessling@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1321159874 0 # Node ID c993df7ffdd8891a2217b12cd7280e47a67ffd73 # Parent c0f29ce1a879b043cf917f4319546b9e9192f600 Add -headerpad_max_install_names to compiler switches for MacOS X. This allows the shared library name to be changed later. diff -r c0f29ce1a879 -r c993df7ffdd8 configure.in --- a/configure.in Thu Nov 10 19:10:00 2011 +0000 +++ b/configure.in Sun Nov 13 04:51:14 2011 +0000 @@ -105,7 +105,7 @@ dnl ---------------------- check for '--with-arch' switch ----------------- AC_ARG_WITH(arch, - [ --with-arch specify architecture: one of all, 32bit, 64bit, ppc, ppc64, x86_64, i386], + [ --with-arch specify architecture: one of all, 32bit, 64bit, intel, ppc, ppc64, x86_64, i386], [with_arch=$withval], [with_arch=no], ) @@ -187,11 +187,14 @@ 64bit) ARCH="-arch ppc64 -arch x86_64" ;; + intel) + ARCH="-arch i386 -arch x86_64" + ;; *) ARCH="-arch $with_arch" ;; esac - SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress" + SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress -headerpad_max_install_names" SOSUFFIX=dylib if test $with_gtkframework = yes; then DW_DIR=gtk