diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/zlib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 9d7cea2ae..e5de4a036 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -27,6 +27,7 @@ endif HOST_STYLE:= auto HOST_CONFIG_STYLE:= manual HOST_CONFIGURE_ENV+= uname=Linux +HOST_FAKE_FLAGS+= DESTDIR=/ CONFIG_STYLE:= manual CONFIGURE_ENV+= uname=Linux @@ -45,7 +46,7 @@ host-configure: CPPFLAGS="-I$(STAGING_HOST_DIR)/usr/include" \ LDFLAGS="-L$(STAGING_HOST_DIR)/usr/lib" \ ./configure \ - --prefix=/usr \ + --prefix=$(STAGING_HOST_DIR)/usr \ --shared \ ); |