aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-03-27 00:11:58 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-03-27 00:11:58 +0000
commit1709507ef4819c173e8e68ced6585390dae84dda (patch)
tree4e63e34b6222ced6bbc746c6e385791931d3edb4 /Makefile
parent151240784e4cb9c0353109b9bcae6a7874d5c4c6 (diff)
downloaddnsfunnel-1709507ef4819c173e8e68ced6585390dae84dda.tar.gz
AI policies; better -lskarnet error message
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a8af4b4..f519a87 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ endif
lib$(2).pc:
exec env \
+ prefix="$(prefix)" \
library="$(2)" \
includedir="$(includedir)" \
dynlibdir="$(dynlibdir)" \
@@ -189,6 +190,9 @@ lib%.a.xyzzy:
lib%.so.xyzzy:
exec $(CC) -o $@ $(CFLAGS_ALL) $(CFLAGS_SHARED) $(LDFLAGS_ALL) $(LDFLAGS_SHARED) -Wl,-soname,$(patsubst lib%.so.xyzzy,lib%.so.$(version_M),$@) -Wl,-rpath=$(dynlibdir) $^ $(EXTRA_LIBS) $(LDLIBS)
+-lskarnet:
+ $(error Unable to link against skalibs. Check that you are using the correct --with-lib or --with-dynlib options; see ./configure --help)
+
.PHONY: it all clean distclean tests check tgz strip install install-dynlib install-bin install-lib install-include install-pkgconfig
.DELETE_ON_ERROR: