summaryrefslogtreecommitdiff
path: root/fontconfig
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-10-29 14:28:26 +0200
committerTor Lillqvist <tml@iki.fi>2012-10-29 14:28:26 +0200
commitcbe020b979e841b3bfc6da1b324fd02f1b9390d8 (patch)
treebcd9a455e1cd37c91df25e3a3f9fbb9ec0bc4cd6 /fontconfig
parent6db0190b716e36e33dbbef0c9a40750ce53b94dd (diff)
Need -lm for Android for the exectuables that fontconfig builds
Said executables will not be used for anything, of course. We can't use gb_STDLIBS, which also contains -lm after my previous commit, as fontconfig is C, not C++, and gb_STDLIBS contains -lgnustl_static, and only our $(CXX), not $(CC), contains the -L that points to where -lgnustl_static is to be found. Change-Id: I40c459580f357d913ddc55eae00e16f90f81d510
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/ExternalProject_fontconfig.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/ExternalProject_fontconfig.mk b/fontconfig/ExternalProject_fontconfig.mk
index b7d2eb5843f9..90107a1fc055 100644
--- a/fontconfig/ExternalProject_fontconfig.mk
+++ b/fontconfig/ExternalProject_fontconfig.mk
@@ -21,7 +21,7 @@ $(eval $(call gb_ExternalProject_register_targets,fontconfig,\
$(call gb_ExternalProject_get_state_target,fontconfig,build) :
cd $(EXTERNAL_WORKDIR) \
- && $(if $(debug),CFLAGS=-g) ./configure \
+ && $(if $(debug),CFLAGS=-g) $(if $(filter ANDROID,$(OS)),LIBS="-lm $(LIBS)") ./configure \
--disable-shared \
--with-arch=arm \
--with-expat-includes=$(OUTDIR)/inc/external \