SHA256
1
0
forked from pool/libseccomp
libseccomp/0001-build-use-ac-variables-in-pkgconfig-file.patch

37 lines
953 B
Diff

From 788415e60f153bdf438c70ada9d294da95ef16e0 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sat, 8 Sep 2012 05:55:42 +0200
Subject: [PATCH] build: use ac variables in pkgconfig file
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
libseccomp.pc.in | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/libseccomp.pc.in b/libseccomp.pc.in
index c195831..a863351 100644
--- a/libseccomp.pc.in
+++ b/libseccomp.pc.in
@@ -19,13 +19,14 @@
# along with this library; if not, see <http://www.gnu.org/licenses>.
#
-prefix=%%INSTALL_PREFIX%%
-libdir=%%INSTALL_LIBDIR%%
-includedir=${prefix}/include
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
Name: libseccomp
Description: The enhanced seccomp library
URL: http://libseccomp.sf.net
-Version: %%VERSION_RELEASE%%
+Version: @PACKAGE_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lseccomp
--
1.7.7