Skip to content

Commit

Permalink
Fix python2 build under Opewnwrt 21.02 (#1)
Browse files Browse the repository at this point in the history
Related to openwrt/packages#14044 (comment)

Signed-off-by: Pavel Krotkiy <porsh@yandex-team.ru>
  • Loading branch information
Porsh33 committed Feb 28, 2022
1 parent c2750a0 commit 5600bec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lang/python/python2/files/python2-package-ctypes.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ $(call Package/python2/Default)
DEPENDS:=+python2-light
endef

TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib

$(eval $(call Py2BasePackage,python2-ctypes, \
/usr/lib/python$(PYTHON2_VERSION)/ctypes \
/usr/lib/python$(PYTHON2_VERSION)/lib-dynload/_ctypes.so \
Expand Down

0 comments on commit 5600bec

Please sign in to comment.