annotate src/readline-2-darwin.patch @ 3212:5fc65ca6f7c9

[Darwin] Fix compilation of GNU Readline for Mac OS X builds * Contains patch to add SHOBJ_LDFLAG='-dynamiclib' instead of '-dynamic' for Mac OS X builds
author Anirudha Bose <ani07nov@gmail.com>
date Fri, 20 Sep 2013 03:03:30 +0530
parents
children e51083cf2f46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3212
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
1 This file is part of MXE.
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
2 See index.html for further information.
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
3
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
4 Contains patch to add SHOBJ_LDFLAG='-dynamiclib' instead of '-dynamic' for Mac OS X builds
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
5
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
6 diff --git a/support/shobj-conf b/support/shobj-conf
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
7 index c61dc78..4fd99d9 100644
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
8 --- a/support/shobj-conf
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
9 +++ b/support/shobj-conf
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
10 @@ -186,10 +186,10 @@ darwin*|macosx*)
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
11 SHLIB_LIBSUFF='dylib'
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
12
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
13 case "${host_os}" in
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
14 - darwin[789]*|darwin10*) SHOBJ_LDFLAGS=''
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
15 + darwin[789]*|darwin10*) SHOBJ_LDFLAGS='-dynamiclib'
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
16 SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
17 $(SHLIB_MAJOR)$(SHLIB_MINO$
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
18 ;;
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
19 - *) SHOBJ_LDFLAGS='-dynamic'
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
20 + *) SHOBJ_LDFLAGS='-dynamiclib'
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
21 SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR)
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
22 -compatib$
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
23 ;;
5fc65ca6f7c9 [Darwin] Fix compilation of GNU Readline for Mac OS X builds
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
24 esac