summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-06 14:17:31 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-07-06 14:19:08 +0300
commit5723afded3fe67588fbdd7d398b8db19f134f759 (patch)
tree0f58eb4420eb31713c51754b9bbf8f98d5c1855b /src
parentbb622dc9b017f9d5fc07daf3ce55de9d8923acd6 (diff)
downloadapk-tools-5723afded3fe67588fbdd7d398b8db19f134f759.tar.gz
apk-tools-5723afded3fe67588fbdd7d398b8db19f134f759.tar.bz2
apk-tools-5723afded3fe67588fbdd7d398b8db19f134f759.tar.xz
apk-tools-5723afded3fe67588fbdd7d398b8db19f134f759.zip
fix cross-compiling to pick right libfetch.a
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 72450f2..16a358b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@ OPENSSL_LIBS := $(shell $(PKG_CONFIG) --libs openssl)
ZLIB_CFLAGS := $(shell $(PKG_CONFIG) --cflags zlib)
ZLIB_LIBS := $(shell $(PKG_CONFIG) --libs zlib)
-FETCH_LIBS := /usr/lib/libfetch.a
+FETCH_LIBS := $(shell $(CC) -print-file-name=libfetch.a)
# lua module
ifneq ($(LUAAPK),)