package/pugixml: enable host build
Needed for host-waylandpp >= 0.2.5
433ce65b68
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
865883f575
commit
8d71c636a3
@ -15,6 +15,7 @@ PUGIXML_INSTALL_STAGING = YES
|
|||||||
# force-enable this option to support older gcc versions. See also:
|
# force-enable this option to support older gcc versions. See also:
|
||||||
# https://gcc.gnu.org/onlinedocs/gcc/Long-Long.html
|
# https://gcc.gnu.org/onlinedocs/gcc/Long-Long.html
|
||||||
PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG
|
PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG
|
||||||
|
HOST_PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_PUGIXML_XPATH_SUPPORT),)
|
ifeq ($(BR2_PACKAGE_PUGIXML_XPATH_SUPPORT),)
|
||||||
PUGIXML_BUILD_DEFINES += PUGIXML_NO_XPATH
|
PUGIXML_BUILD_DEFINES += PUGIXML_NO_XPATH
|
||||||
@ -30,4 +31,9 @@ ifdef PUGIXML_BUILD_DEFINES
|
|||||||
PUGIXML_CONF_OPTS += -DBUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))"
|
PUGIXML_CONF_OPTS += -DBUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
HOST_PUGIXML_CONF_OPTS += \
|
||||||
|
-DBUILD_PKGCONFIG=ON \
|
||||||
|
-DBUILD_DEFINES="$(subst $(space),;,$(HOST_PUGIXML_BUILD_DEFINES))"
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
$(eval $(host-cmake-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user