mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 01:34:31 +04:00
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>
This commit is contained in:
@@ -276,6 +276,7 @@ define Package/python-pip-conf/install
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_LDFLAGS += \
|
HOST_LDFLAGS += \
|
||||||
|
-Wl,--no-as-needed -lrt \
|
||||||
$$$$(pkg-config --static --libs libcrypto libssl)
|
$$$$(pkg-config --static --libs libcrypto libssl)
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS+= \
|
HOST_CONFIGURE_ARGS+= \
|
||||||
|
|||||||
@@ -251,6 +251,7 @@ define Py3Package/python3/filespec
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
HOST_LDFLAGS += \
|
HOST_LDFLAGS += \
|
||||||
|
-Wl,--no-as-needed -lrt \
|
||||||
$$$$(pkg-config --static --libs libcrypto libssl)
|
$$$$(pkg-config --static --libs libcrypto libssl)
|
||||||
|
|
||||||
HOST_CONFIGURE_ARGS+= \
|
HOST_CONFIGURE_ARGS+= \
|
||||||
|
|||||||
Reference in New Issue
Block a user