diff options
author | Phil Sutter <phil@nwl.cc> | 2025-01-05 01:18:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-01-06 11:53:42 +0100 |
commit | f7e0e6cba36ca49ed9962ab33e2adb26ff44b2d6 (patch) | |
tree | 42761de50d2b5c48b0582fd9c7911743db672b68 /package | |
parent | fe4bf8bdb4cc744bc31972c763cf6a810eb7aeba (diff) |
package: zlib: Fix for wrong zlib.pc content in host build
The file contained 'prefix=/usr' which led to glib host build trying to
link against the host's libz.so instead of the built one.
Signed-off-by: Phil Sutter <phil@nwl.cc>
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 \ ); |