blob: 7f5dcacc4b43d97e6dd00d4fe62ae5d0c33012e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/src/Makefile b/src/Makefile
index 250d2f0..0e0525a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -66,7 +66,7 @@ LDFLAGS_apk += -L$(obj)
LDFLAGS_apk-test += -L$(obj)
CFLAGS_ALL += $(shell $(PKG_CONFIG) --cflags $(PKGDEPS))
-LIBS := /usr/lib/libfetch.a \
+LIBS := $(shell $(CC) -print-file-name=libfetch.a) \
-Wl,--as-needed \
$(shell $(PKG_CONFIG) --libs $(PKGDEPS)) \
-Wl,--no-as-needed
|