26 lines
690 B
Diff
26 lines
690 B
Diff
|
|
From 2faeb864575e17704be5e9a4bd697588286d800a Mon Sep 17 00:00:00 2001
|
||
|
|
From: jiawenhao <jiawenhao@xfusion.com>
|
||
|
|
Date: Thu, 17 Apr 2025 18:59:59 +0800
|
||
|
|
Subject: [PATCH] provide-a-pkgconfig-file-with-libkeyutils.a
|
||
|
|
|
||
|
|
---
|
||
|
|
Makefile | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/Makefile b/Makefile
|
||
|
|
index 599b145..d8d4ee3 100644
|
||
|
|
--- a/Makefile
|
||
|
|
+++ b/Makefile
|
||
|
|
@@ -201,6 +201,8 @@ ifeq ($(NO_SOLIB),0)
|
||
|
|
$(LNS) $(LIBNAME) $(DESTDIR)$(LIBDIR)/$(SONAME)
|
||
|
|
mkdir -p $(DESTDIR)$(USRLIBDIR)
|
||
|
|
$(LNS) $(LIBDIR)/$(SONAME) $(DESTDIR)$(USRLIBDIR)/$(DEVELLIB)
|
||
|
|
+endif
|
||
|
|
+ifneq ($(filter 0, $(NO_ARLIB) $(NO_SOLIB)),)
|
||
|
|
sed \
|
||
|
|
-e 's,@VERSION\@,$(VERSION),g' \
|
||
|
|
-e 's,@prefix\@,$(PREFIX),g' \
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|