summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-10-08 10:10:45 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-10-08 10:10:45 +0300
commit555363f056377508040d3a555d198c4b87aff3a3 (patch)
tree85b07e13b3c5e17ee07f37925122dd06808f0c4a /src/Makefile
parentaab5f469596fb6e2b69dd847743d5ae16ee604da (diff)
downloadapk-tools-555363f056377508040d3a555d198c4b87aff3a3.tar.gz
apk-tools-555363f056377508040d3a555d198c4b87aff3a3.tar.bz2
apk-tools-555363f056377508040d3a555d198c4b87aff3a3.tar.xz
apk-tools-555363f056377508040d3a555d198c4b87aff3a3.zip
url: use libfetch to retrieve http/https/ftp files
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 8fdaf4b..b0b9537 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -66,7 +66,8 @@ LDFLAGS_apk += -L$(obj)
LDFLAGS_apk-test += -L$(obj)
CFLAGS_ALL += $(shell $(PKG_CONFIG) --cflags $(PKGDEPS))
-LIBS := -Wl,--as-needed \
+LIBS := /usr/lib/libfetch.a \
+ -Wl,--as-needed \
$(shell $(PKG_CONFIG) --libs $(PKGDEPS)) \
-Wl,--no-as-needed