commit 9f2864718959f233e78f4294463809be6a49bebf
parent f17ce23f607e9d1bc3541fc5f5d58ecf58d1caa5
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Mon, 6 Sep 2021 15:31:49 -0700
Fix linking error
It seems static and shared libraries are mutually exclusive when
it comes to searching for them. At least that is the case with tcc.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkfile b/mkfile
@@ -4,7 +4,7 @@ cc = tcc
cflags = -Wall -Wno-write-strings
cppflags = -I/usr/local/include -I./libap
ldflags = -L/usr/local/lib -L./libap
-ldlibs = -lsndfile -lao -lap
+ldlibs = -lsndfile -lao libap/libap.a
prefix = /usr/local
manprefix = $prefix/man