aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-03-26 17:38:09 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-03-26 17:38:09 +0000
commitf60332ef4172652e850805e9567d36fbc912923f (patch)
tree480bf602e4831ca3c9c9c7a1ec2588f1ab0bde4b /Makefile
parent26158838376b74d83d92dfdf8547524648981459 (diff)
downloadnsss-f60332ef4172652e850805e9567d36fbc912923f.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: