diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-26 18:08:54 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-26 18:08:54 +0000 |
| commit | 024a555c5553abe5ea8b962bedba5dc2c79daf3a (patch) | |
| tree | a1c90411e10bcbd40b2f89540ef0847dab1d6439 /Makefile | |
| parent | 256eeb41370170715ed8359260b822c42c3360d4 (diff) | |
| download | s6-linux-utils-024a555c5553abe5ea8b962bedba5dc2c79daf3a.tar.gz | |
AI policies, better -lskarnet error message
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |
