mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-16 12:23:59 +02:00
python,python3: limit underlinking behavior to linux platforms
This change was introduced in commit 1c54e2b0fb
to address build
issues on Ubuntu 12.04.
However it was reported to cause issues on Mac OS X.
Report: https://github.com/openwrt/packages/issues/5310
It was also reported that removing this on MacOS X fixes the issue.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
450577536f
commit
ea62d1217c
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user