Mercurial > hg > mxe-octave-anirudha
view src/readline-2-darwin.patch @ 3229:92fc1c2cb975
src/readline-2-darwin.patch: Small change in Readline patch
author | Anirudha Bose <ani07nov@gmail.com> |
---|---|
date | Mon, 23 Sep 2013 21:12:07 +0530 |
parents | e51083cf2f46 |
children |
line wrap: on
line source
This file is part of MXE. See index.html for further information. Contains patch to add SHOBJ_LDFLAG='-dynamiclib' instead of '-dynamic' for Mac OS X builds diff --git a/support/shobj-conf b/support/shobj-conf index c61dc78..4b2a741 100644 --- a/support/shobj-conf +++ b/support/shobj-conf @@ -157,7 +157,7 @@ freebsd[4-9]*|freebsdelf*|dragonfly*) ;; # Darwin/MacOS X -darwin[89]*|darwin10*) +darwin[89]*|darwin1[012]*) SHOBJ_STATUS=supported SHLIB_STATUS=supported @@ -186,10 +186,10 @@ darwin*|macosx*) SHLIB_LIBSUFF='dylib' case "${host_os}" in - darwin[789]*|darwin10*) SHOBJ_LDFLAGS='' + darwin[789]*|darwin1[012]*) SHOBJ_LDFLAGS='-dynamiclib' SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' ;; - *) SHOBJ_LDFLAGS='-dynamic' + *) SHOBJ_LDFLAGS='-dynamiclib' SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' ;; esac