Mercurial > dwindows
changeset 1333:c993df7ffdd8
Add -headerpad_max_install_names to compiler switches for MacOS X.
This allows the shared library name to be changed later.
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 13 Nov 2011 04:51:14 +0000 |
parents | c0f29ce1a879 |
children | 5e2ec37d1680 |
files | configure.in |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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