aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/configure.in
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-12-10 15:08:41 +0100
committerDan Gudmundsson <[email protected]>2014-01-14 13:26:53 +0100
commit3f9b80b1e635f3b5f39bd7380b3bd777ebd98338 (patch)
treed84062b7cdbf7ab415582b0edf56285ac601c112 /lib/wx/configure.in
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-3f9b80b1e635f3b5f39bd7380b3bd777ebd98338.tar.gz
otp-3f9b80b1e635f3b5f39bd7380b3bd777ebd98338.tar.bz2
otp-3f9b80b1e635f3b5f39bd7380b3bd777ebd98338.zip
wx: Fix LDFLAGS for Mac
MacOSX min version must be applied to LDFLAGS otherwise linking with static wxWidgets libraries doesn't work.
Diffstat (limited to 'lib/wx/configure.in')
-rwxr-xr-xlib/wx/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/configure.in b/lib/wx/configure.in
index 12b4de6fe6..2842db07c0 100755
--- a/lib/wx/configure.in
+++ b/lib/wx/configure.in
@@ -183,7 +183,7 @@ AC_SUBST(OBJC_CFLAGS)
case $host_os in
darwin*)
- LDFLAGS="-bundle -flat_namespace -undefined warning -fPIC $LDFLAGS"
+ LDFLAGS="$MAC_MIN -bundle -flat_namespace -undefined warning -fPIC $LDFLAGS"
# Check sizof_void_p as future will hold 64bit MacOS wx
if test $ac_cv_sizeof_void_p = 4; then
LDFLAGS="-m32 $LDFLAGS"