mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
nghttp3: fix pkgconfig file
CMake build is passing host paths in pkgconfig. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -30,6 +30,12 @@ endef
|
|||||||
|
|
||||||
CMAKE_OPTIONS += -DENABLE_LIB_ONLY=ON
|
CMAKE_OPTIONS += -DENABLE_LIB_ONLY=ON
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(call Build/InstallDev/cmake,$(1))
|
||||||
|
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/libnghttp3.pc
|
||||||
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/libnghttp3.pc
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libnghttp3/install
|
define Package/libnghttp3/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libnghttp3.so* $(1)/usr/lib
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libnghttp3.so* $(1)/usr/lib
|
||||||
|
|||||||
Reference in New Issue
Block a user