mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 11:00:07 +01:00
Force use of builtin libs on macOS, rather than any that might be found on the system
This commit is contained in:
2
build.py
2
build.py
@@ -325,7 +325,7 @@ def setDevModeOptions(args):
|
|||||||
myDevModeOptions = [
|
myDevModeOptions = [
|
||||||
#'--build_dir=../bld',
|
#'--build_dir=../bld',
|
||||||
#'--prefix=/opt/wx/2.9',
|
#'--prefix=/opt/wx/2.9',
|
||||||
'--jobs={}'.format(max(2, numCPUs()/2)),
|
'--jobs={}'.format(max(2, int(numCPUs()/2))),
|
||||||
|
|
||||||
# These will be ignored on the other platforms so it is okay to
|
# These will be ignored on the other platforms so it is okay to
|
||||||
# include them unconditionally
|
# include them unconditionally
|
||||||
|
|||||||
@@ -332,10 +332,11 @@ def main(wxDir, args):
|
|||||||
print("Universal Capable: {}".format(universalCapable))
|
print("Universal Capable: {}".format(universalCapable))
|
||||||
print("Architectures: {}".format(arch))
|
print("Architectures: {}".format(arch))
|
||||||
|
|
||||||
# Using 'builtin' has problems with universal builds, make sure to
|
wxpy_configure_opts.append("--with-libjpeg=builtin")
|
||||||
# force use of system regex library in case configure would
|
wxpy_configure_opts.append("--with-libpng=builtin")
|
||||||
# otherwise try to use builtin
|
wxpy_configure_opts.append("--with-libtiff=builtin")
|
||||||
# wxpy_configure_opts.append("--with-regex=sys")
|
wxpy_configure_opts.append("--with-regex=builtin")
|
||||||
|
|
||||||
|
|
||||||
if not options.mac_framework:
|
if not options.mac_framework:
|
||||||
if installDir and not prefixDir:
|
if installDir and not prefixDir:
|
||||||
|
|||||||
Reference in New Issue
Block a user