diff src/zlib.mk @ 131:ed98f6b98e35

use $(1) instead of $(2) to address to temporary build dir
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 08 Nov 2008 19:06:50 +0100
parents 364cf286d1ee
children 5bf9071e67b6
line wrap: on
line diff
--- a/src/zlib.mk	Sat Nov 08 18:58:00 2008 +0100
+++ b/src/zlib.mk	Sat Nov 08 19:06:50 2008 +0100
@@ -16,7 +16,7 @@
 endef
 
 define $(PKG)_BUILD
-    cd '$(2)' && CC='$(TARGET)-gcc' RANLIB='$(TARGET)-ranlib' ./configure \
+    cd '$(1)' && CC='$(TARGET)-gcc' RANLIB='$(TARGET)-ranlib' ./configure \
         --prefix='$(PREFIX)/$(TARGET)'
-    $(MAKE) -C '$(2)' -j '$(JOBS)' install
+    $(MAKE) -C '$(1)' -j '$(JOBS)' install
 endef