mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
libfmt: Fix pkgconfig paths
pkgconfig needs to override these. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -43,6 +43,12 @@ define Package/libfmt/description
|
|||||||
It can be used as a safe alternative to printf or as a fast alternative to IOStreams.
|
It can be used as a safe alternative to printf or as a fast alternative to IOStreams.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(call Build/InstallDev/cmake,$(1))
|
||||||
|
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/fmt.pc
|
||||||
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/fmt.pc
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libfmt/install
|
define Package/libfmt/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfmt.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfmt.so* $(1)/usr/lib/
|
||||||
|
|||||||
Reference in New Issue
Block a user