[PATCH] Install .pc files from Python package.
Szilárd Pfeiffer
coroner at pfeifferszilard.hu
Thu Nov 27 17:19:40 EST 2014
---
lang/python/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 954612f..6039b2e 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -104,7 +104,7 @@ endef
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR)/mk/
- $(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/ $(1)/usr/lib/pkgconfig
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/
$(INSTALL_DATA) ./files/python-package.mk $(STAGING_DIR)/mk/
$(CP) \
@@ -115,6 +115,11 @@ define Build/InstallDev
$(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* \
$(1)/usr/lib/
$(CP) \
+ $(STAGING_DIR_HOST)/lib/pkgconfig/python.pc \
+ $(STAGING_DIR_HOST)/lib/pkgconfig/python2.pc \
+ $(STAGING_DIR_HOST)/lib/pkgconfig/python-$(PYTHON_VERSION).pc \
+ $(1)/usr/lib/pkgconfig
+ $(CP) \
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config \
$(1)/usr/lib/python$(PYTHON_VERSION)/
endef
--
1.9.1
--------------080402070805090609020803
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
--------------080402070805090609020803--
More information about the openwrt-devel
mailing list