keyutils/backport-provide-a-pkgconfig-file-with-libkeyutils.a.patch
Linux_zhang 9395519559 sync branch patches
(cherry picked from commit a9e4932872a7d1948b83b70cc40aa9cef21a296d)
2025-04-23 14:28:56 +08:00

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