forked from gstf/libspatialite-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
/
geos.patch
27 lines (25 loc) · 992 Bytes
/
geos.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- geos/ltmain.sh 2016-10-24 15:35:58.000000000 +0200
+++ geos_patch/ltmain.sh 2016-10-23 17:55:50.000000000 +0200
@@ -10206,24 +10206,6 @@ EOF
;;
esac
- case $host in
- *-*-darwin*)
- # Don't allow lazy linking, it breaks C++ global constructors
- # But is supposedly fixed on 10.4 or later (yay!).
- if test CXX = "$tagname"; then
- case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
- 10.[0123])
- func_append compile_command " $wl-bind_at_load"
- func_append finalize_command " $wl-bind_at_load"
- ;;
- esac
- fi
- # Time to change all our "foo.ltframework" stuff back to "-framework foo"
- compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
- finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
- ;;
- esac
-
# move library search paths that coincide with paths to not yet
# installed libraries to the beginning of the library search list