projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f743e0
)
libyaml-cpp: fix pkgconfig file
author
Rosen Penev
<
[email protected]
>
Fri, 1 Aug 2025 19:34:39 +0000
(12:34 -0700)
committer
Tianling Shen
<
[email protected]
>
Mon, 11 Aug 2025 09:11:25 +0000
(17:11 +0800)
This avoids leaking OS paths.
Signed-off-by: Rosen Penev <
[email protected]
>
libs/libyaml-cpp/Makefile
patch
|
blob
|
history
diff --git
a/libs/libyaml-cpp/Makefile
b/libs/libyaml-cpp/Makefile
index 35e41acd9c8bb3327acc7cf01168d8e4983e1590..c72ef7c0955a910e98025d65f6223dd078b2cfcf 100644
(file)
--- a/
libs/libyaml-cpp/Makefile
+++ b/
libs/libyaml-cpp/Makefile
@@
-44,6
+44,12
@@
CMAKE_OPTIONS += \
-DYAML_CPP_BUILD_TESTS=OFF \
-DYAML_CPP_BUILD_TOOLS=OFF
+define Build/InstallDev
+ $(call Build/InstallDev/cmake,$(1))
+ $(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/yaml-cpp.pc
+ $(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/yaml-cpp.pc
+endef
+
define Package/libyaml-cpp/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.$(ABI_VERSION) $(1)/usr/lib/