From 6a10b33804f8aa52efeff7bf46174a4dfcd97b51 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 19 Dec 2018 20:40:48 -0500 Subject: project: custom config: handle all expat-related bits at config-time. --- project/config/cfgdefs.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'project/config/cfgdefs.sh') diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index 61482d3..8e304fd 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -231,6 +231,19 @@ cfgdefs_perform_target_tests() mb_cfgtest_makevar='LDFLAGS_SQLITE_STATIC' cfgtest_makevar_append '$(LDFLAGS_SQLITE)' + # expat + cfgtest_newline + cfgtest_comment 'expat' + + mb_cfgtest_makevar='CFLAGS_EXPAT' + cfgtest_makevar_append '-DXML_DEV_URANDOM' + + mb_cfgtest_makevar='LDFLAGS_EXPAT' + cfgtest_makevar_append '-lexpat' + + mb_cfgtest_makevar='LDFLAGS_EXPAT_STATIC' + cfgtest_makevar_append '$(LDFLAGS_EXPAT)' + # pretty cfgdefs.mk cfgtest_newline } -- cgit v1.2.3