summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2010-11-24 07:38:33 (GMT)
committerTony Theodore <tonyt@logyst.com>2010-11-24 07:38:33 (GMT)
commit7ddc7133cb25deb253c726d27c89ba9ca27df5dc (patch)
tree48be6a5f4087bf6eeb90ac5deb11513fba38f99b /Makefile
parent46a8124829fbfc7ed9ce0253c4d6f0224e5cfcde (diff)
downloadmxe-7ddc7133cb25deb253c726d27c89ba9ca27df5dc.zip
mxe-7ddc7133cb25deb253c726d27c89ba9ca27df5dc.tar.gz
mxe-7ddc7133cb25deb253c726d27c89ba9ca27df5dc.tar.bz2
add portability variable for libtool
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9fb8bb5..4bfe4c9 100644
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,16 @@ TOP_DIR := $(patsubst %/,%,$(dir $(MAKEFILE)))
PATH := $(PREFIX)/bin:$(PATH)
SHELL := bash
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
+LIBTOOL := $(shell glibtool --help >/dev/null 2>&1 && echo g)libtool
LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize
PATCH := $(shell gpatch --help >/dev/null 2>&1 && echo g)patch
SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
VERSION := $(shell $(SED) -n 's,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html')
REQUIREMENTS := autoconf automake bash bison bzip2 cmake flex \
- gcc intltoolize $(LIBTOOLIZE) $(MAKE) openssl \
- $(PATCH) $(PERL) pkg-config scons $(SED) unzip \
- wget xz yasm
+ gcc intltoolize $(LIBTOOL) $(LIBTOOLIZE) \
+ $(MAKE) openssl $(PATCH) $(PERL) pkg-config \
+ scons $(SED) unzip wget xz yasm
# unexport any environment variables that might cause trouble
unexport AR CC CFLAGS C_INCLUDE_PATH CPATH CPLUS_INCLUDE_PATH CPP