diff options
author | Rosen Penev <rosenp@gmail.com> | 2024-02-21 12:48:28 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2024-02-22 10:48:21 -0800 |
commit | 6f79ac8500217a1a60deaa8200c78635df872234 (patch) | |
tree | f370bc1eab542cb3b93ac878928c69e5f771e3e7 /libs/libiio | |
parent | fa79aaad5f79447b579b98ea2e418486be71261d (diff) |
libiio: fix pkgconfig paths
CMake build is passing host paths in pkgconfig file.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libiio')
-rw-r--r-- | libs/libiio/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libiio/Makefile b/libs/libiio/Makefile index 1ff73915a..ba78a6878 100644 --- a/libs/libiio/Makefile +++ b/libs/libiio/Makefile @@ -128,6 +128,8 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libiio.pc $(1)/usr/lib/pkgconfig/ + $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libiio.pc + $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libiio.pc endef define Package/libiio/install |