summaryrefslogtreecommitdiff
path: root/lang/python/python3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python3/Makefile')
-rw-r--r--lang/python/python3/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile
index cd97378ce..794a2bf75 100644
--- a/lang/python/python3/Makefile
+++ b/lang/python/python3/Makefile
@@ -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 \