summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-06-06 20:24:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-06-07 08:42:35 +0200
commita288585ecab5acebbb95bd86c125ad5294a5c031 (patch)
treee2070023189cce7a82e10a03ab2914fda02d7bcd /external
parentf43fdcad400b6ff51f0810d923fe75d5a2cfde0c (diff)
pass -enable-symbols down to libxml
Change-Id: Iceef587366bebe6007f40e100f19e6a2f048adda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116764 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'external')
-rw-r--r--external/libxml2/ExternalProject_libxml2.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libxml2/ExternalProject_libxml2.mk b/external/libxml2/ExternalProject_libxml2.mk
index 77d040b4b2c5..6c3e5bb935e4 100644
--- a/external/libxml2/ExternalProject_libxml2.mk
+++ b/external/libxml2/ExternalProject_libxml2.mk
@@ -41,7 +41,7 @@ $(call gb_ExternalProject_get_state_target,libxml2,build):
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________URELIB) \
LDFLAGS="$(if $(SYSBASE),-L$(SYSBASE)/usr/lib)" \
- CFLAGS="$(if $(SYSBASE),-I$(SYSBASE)/usr/include) $(if $(debug),-g)" \
+ CFLAGS="$(if $(SYSBASE),-I$(SYSBASE)/usr/include) $(if $(debug),-g) $(if $(gb_Module_CURRENTMODULE_SYMBOLS_ENABLED),-g)" \
$(if $(filter TRUE,$(DISABLE_DYNLOADING)),--disable-shared,--disable-static) \
&& $(MAKE) \
)