pugixml: fix pkgconfig paths
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
234eb30b38
commit
e2cce61f5d
1 changed files with 6 additions and 1 deletions
|
@ -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…
Reference in a new issue