summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-02-20 11:49:29 +0200
committerAlexandru Ardelean <ardeleanalex@gmail.com>2017-07-03 09:28:41 +0300
commit1c54e2b0fbe2e9a7dfb050b45ff79a0f72b8582f (patch)
tree6968e071a7c7e16107745ea21ac6ff3667100f55 /lang/python/python3
parenta899a96f9eeb10fd485b72b305b548410df51c21 (diff)
python,python3: fix underlinking issues with lrt (clock_gettime())
Seems it's called underlinking that's happening only on Ubuntu 12.04 with libressl (that comes from LEDE's tools folder). Link here: https://ubuntuforums.org/showthread.php?t=1870586 I'm still reading about this a bit. Since I don't really get it. But applying that fix (as in the link) seems to fix compiling on Ubuntu 12.04, and tried also on 16.04 (to make sure). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3')
-rw-r--r--lang/python/python3/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile
index 9e10d1806..614dc2c88 100644
--- a/lang/python/python3/Makefile
+++ b/lang/python/python3/Makefile
@@ -251,6 +251,7 @@ define Py3Package/python3/filespec
endef
HOST_LDFLAGS += \
+ -Wl,--no-as-needed -lrt \
$$$$(pkg-config --static --libs libcrypto libssl)
HOST_CONFIGURE_ARGS+= \