Merge pull request #5758 from commodo/python-fix-macos-x-build
python,python3: attempt to fix Mac OS X host build issues
This commit is contained in:
commit
a296a374c6
|
@ -268,9 +268,13 @@ define PyPackage/python/filespec
|
|||
endef
|
||||
|
||||
HOST_LDFLAGS += \
|
||||
-Wl,--no-as-needed -lrt \
|
||||
$$$$(pkg-config --static --libs libcrypto libssl)
|
||||
|
||||
ifeq ($(HOST_OS),Linux)
|
||||
HOST_LDFLAGS += \
|
||||
-Wl,--no-as-needed -lrt
|
||||
endif
|
||||
|
||||
HOST_CONFIGURE_ARGS+= \
|
||||
--without-cxx-main \
|
||||
--without-pymalloc \
|
||||
|
@ -278,7 +282,6 @@ HOST_CONFIGURE_ARGS+= \
|
|||
--prefix=$(HOST_PYTHON_DIR) \
|
||||
--exec-prefix=$(HOST_PYTHON_DIR) \
|
||||
--with-system-expat=$(STAGING_DIR_HOSTPKG) \
|
||||
--with-system-ffi=no \
|
||||
--with-ensurepip=install \
|
||||
CONFIG_SITE=
|
||||
|
||||
|
|
|
@ -264,9 +264,13 @@ define Py3Package/python3/filespec
|
|||
endef
|
||||
|
||||
HOST_LDFLAGS += \
|
||||
-Wl,--no-as-needed -lrt \
|
||||
$$$$(pkg-config --static --libs libcrypto libssl)
|
||||
|
||||
ifeq ($(HOST_OS),Linux)
|
||||
HOST_LDFLAGS += \
|
||||
-Wl,--no-as-needed -lrt
|
||||
endif
|
||||
|
||||
HOST_CONFIGURE_ARGS+= \
|
||||
--without-cxx-main \
|
||||
--without-pymalloc \
|
||||
|
@ -274,7 +278,6 @@ HOST_CONFIGURE_ARGS+= \
|
|||
--prefix=$(HOST_PYTHON3_DIR) \
|
||||
--exec-prefix=$(HOST_PYTHON3_DIR) \
|
||||
--with-system-expat=$(STAGING_DIR_HOSTPKG) \
|
||||
--with-system-ffi=no \
|
||||
--with-ensurepip=install \
|
||||
CONFIG_SITE=
|
||||
|
||||
|
|
Loading…
Reference in New Issue