diff options
Diffstat (limited to 'freetype/builds/unix/detect.mk')
-rw-r--r-- | freetype/builds/unix/detect.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/freetype/builds/unix/detect.mk b/freetype/builds/unix/detect.mk index 0506e7d04..ef007bf39 100644 --- a/freetype/builds/unix/detect.mk +++ b/freetype/builds/unix/detect.mk @@ -3,7 +3,7 @@ # -# Copyright 1996-2000, 2002-2004, 2006, 2013 by +# Copyright 1996-2015 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, @@ -81,9 +81,12 @@ ifeq ($(PLATFORM),unix) ifdef must_configure ifneq ($(have_Makefile),) # we are building FT2 not in the src tree - $(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG) + CONFIG_SHELL="$(CONFIG_SHELL)" \ + $(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG) else - cd builds/unix; $(CONFIG_SHELL) ./configure $(value CFG) + cd builds/unix; \ + CONFIG_SHELL="$(CONFIG_SHELL)" \ + $(CONFIG_SHELL) ./configure $(value CFG) endif endif |