Browse Source

python: revert previous patch and add a filespec

Seems removing the PyPackage rule and/or adding dummy install rule
causes some issues inside the build-system, where the libpython2.7.so.1.0
is not seen by packages that depend on python.
Even though that libpython2.7.so.1.0 file is installed properly by `python-base`.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean 10 years ago
parent
commit
9c5af1f29c
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      lang/python/Makefile

+ 3
- 3
lang/python/Makefile View File

209
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
209
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
210
 endef
210
 endef
211
 
211
 
212
-# Dummy rule so that the package gets picked up
213
-define Package/python/install
212
+define PyPackage/python/filespec
213
+-|$(PYTHON_PKG_DIR)
214
 endef
214
 endef
215
 
215
 
216
 HOST_CFLAGS+= \
216
 HOST_CFLAGS+= \
241
 
241
 
242
 $(eval $(call PyPackage,python-base))
242
 $(eval $(call PyPackage,python-base))
243
 $(eval $(call PyPackage,python-light))
243
 $(eval $(call PyPackage,python-light))
244
-#$(eval $(call PyPackage,python))
244
+$(eval $(call PyPackage,python))
245
 
245
 
246
 $(eval $(call BuildPackage,python-base))
246
 $(eval $(call BuildPackage,python-base))
247
 $(eval $(call BuildPackage,python-light))
247
 $(eval $(call BuildPackage,python-light))