aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-21 04:46:38 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-21 04:46:38 +0000
commit26158838376b74d83d92dfdf8547524648981459 (patch)
treee5d777574069966ae7ee67d67d32aa2b683bd871
parent5ce22f040d33e87f29b9d6c79e88b6cab9e50879 (diff)
downloadnsss-26158838376b74d83d92dfdf8547524648981459.tar.gz
Fix dotpc and Solaris build
-rw-r--r--Makefile1
-rwxr-xr-xpatch-for-solaris2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a8af4b4..62bc1a1 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ endif
lib$(2).pc:
exec env \
+ prefix="$(prefix)" \
library="$(2)" \
includedir="$(includedir)" \
dynlibdir="$(dynlibdir)" \
diff --git a/patch-for-solaris b/patch-for-solaris
index ccb17f7..f209bab 100755
--- a/patch-for-solaris
+++ b/patch-for-solaris
@@ -14,6 +14,8 @@ mv -f configure.tmp configure
patchit ./configure
patchit ./tools/install.sh
patchit ./tools/gen-deps.sh
+patchit ./tools/gen-dotpc.sh
+patchit ./tools/run-test.sh
echo 'SHELL := /usr/xpg4/bin/sh' > Makefile.tmp
echo >> Makefile.tmp