From 2ee51224ee02d62935655d426baf77ca556bb6c7 Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Tue, 5 Dec 2023 16:57:43 +0100 Subject: [PATCH] Use two_levelnamespace for wx --- lib/wx/configure | 2 +- lib/wx/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wx/configure b/lib/wx/configure index 6cb5ce03b48c..9789690d8570 100755 --- a/lib/wx/configure +++ b/lib/wx/configure @@ -4415,7 +4415,7 @@ esac case $host_os in darwin*) - LDFLAGS="$MAC_MIN -bundle -flat_namespace -undefined warning -fPIC $LDFLAGS" + LDFLAGS="$MAC_MIN -bundle -twolevel_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" diff --git a/lib/wx/configure.in b/lib/wx/configure.in index 4d1e331ea3f1..ecb3b9db2109 100644 --- a/lib/wx/configure.in +++ b/lib/wx/configure.in @@ -199,7 +199,7 @@ AC_SUBST(OBJC_CFLAGS) case $host_os in darwin*) - LDFLAGS="$MAC_MIN -bundle -flat_namespace -undefined warning -fPIC $LDFLAGS" + LDFLAGS="$MAC_MIN -bundle -twolevel_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"