Browse Source

pugixml: fix pkgconfig paths

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
e2cce61f5d
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      libs/pugixml/Makefile

+ 6
- 1
libs/pugixml/Makefile View File

@ -17,7 +17,6 @@ PKG_MAINTAINER:=
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
CMAKE_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
@ -43,4 +42,10 @@ endef
TARGET_CXXFLAGS += -flto
define Build/InstallDev
$(call Build/InstallDev/cmake,$(1))
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/pugixml.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/pugixml.pc
endef
$(eval $(call BuildPackage,pugixml))

Loading…
Cancel
Save