Skip to content

Commit

Permalink
python,python3: fix underlinking issues with lrt (clock_gettime())
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
commodo committed Jul 3, 2017
1 parent a899a96 commit 1c54e2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lang/python/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ define Package/python-pip-conf/install
endef

HOST_LDFLAGS += \
-Wl,--no-as-needed -lrt \
$$$$(pkg-config --static --libs libcrypto libssl)

HOST_CONFIGURE_ARGS+= \
Expand Down
1 change: 1 addition & 0 deletions lang/python/python3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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+= \
Expand Down

0 comments on commit 1c54e2b

Please sign in to comment.