From bfcab07d87bda7d5746c5ef85035fc47af14b09b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 16 Sep 2019 11:51:32 -0700 Subject: [PATCH] libfmt: Fix pkgconfig paths pkgconfig needs to override these. Signed-off-by: Rosen Penev --- libs/libfmt/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/libfmt/Makefile b/libs/libfmt/Makefile index 376e8a26e7..632dd86718 100644 --- a/libs/libfmt/Makefile +++ b/libs/libfmt/Makefile @@ -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. 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 $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfmt.so* $(1)/usr/lib/ -- 2.30.2