summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-04-20 22:25:33 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-04-20 22:25:33 (GMT)
commit246af91ecc9080bc32bc06e3d9451a0239550171 (patch)
tree36c6f960fa85dfc5580a1e6284c24679dbde9525
parentcce080a726bb34785d773c7351b072828e06052c (diff)
downloadmxe-246af91ecc9080bc32bc06e3d9451a0239550171.zip
mxe-246af91ecc9080bc32bc06e3d9451a0239550171.tar.gz
mxe-246af91ecc9080bc32bc06e3d9451a0239550171.tar.bz2
install NSIS with target prefix ("makensis" -> "i686-pc-mingw32-makensis")
-rw-r--r--src/nsis.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nsis.mk b/src/nsis.mk
index 4fcc94c..dc0f2cf 100644
--- a/src/nsis.mk
+++ b/src/nsis.mk
@@ -21,9 +21,10 @@ endef
define $(PKG)_BUILD
cd '$(1)' && scons \
- PREFIX='$(PREFIX)' \
+ PREFIX='$(PREFIX)/$(TARGET)' \
`[ -d /usr/local/include ] && echo APPEND_CPPPATH=/usr/local/include` \
`[ -d /usr/local/lib ] && echo APPEND_LIBPATH=/usr/local/lib` \
SKIPUTILS='NSIS Menu' \
install
+ $(INSTALL) -m755 '$(PREFIX)/$(TARGET)/bin/makensis' '$(PREFIX)/bin/$(TARGET)-makensis'
endef