aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-03-27 00:19:38 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-03-27 00:19:38 +0000
commit4f8276ee21ad2e11ed3d27472df4da1064193c5e (patch)
treee9d8f6f0bfac20c37a388847845f5d9e24ba2c37 /Makefile
parentfe57058702686e1ebd9460531b1dcec648f679c2 (diff)
downloadpamela-4f8276ee21ad2e11ed3d27472df4da1064193c5e.tar.gz
AI policies; better -lskarnet error message
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 62bc1a1..f519a87 100644
--- a/Makefile
+++ b/Makefile
@@ -190,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: