diff options
| author | Rosen Penev <rosenp@gmail.com> | 2019-04-04 00:18:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-04 00:18:24 -0700 |
| commit | 5be14931bddb1bbc0a13864ab98c683ba8ccf621 (patch) | |
| tree | f5df48ddf8ab83af5f40adbaba50eaf3c2a1d66c /lang/python/python3 | |
| parent | 5c539c7950d3fba449e03b9d2e3fcee8873acb0d (diff) | |
| parent | 8de8ff4f25e2660b8fe2f76ed4f00d550bc45ff2 (diff) | |
Merge pull request #8516 from jefferyto/python-config
python,python3: Include python-config for target Python in InstallDev
Diffstat (limited to 'lang/python/python3')
| -rw-r--r-- | lang/python/python3/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index bbb90e13c..60fe7c69f 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION) PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz @@ -199,6 +199,7 @@ endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/bin $(CP) \ $(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \ $(1)/usr/include/ @@ -209,6 +210,9 @@ define Build/InstallDev $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/python*.pc \ $(1)/usr/lib/pkgconfig + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/python$(PYTHON_VERSION)-config \ + $(1)/usr/bin/ endef PYTHON3_BASE_LIB_FILES:= \ |
