patch-src-efivar.pc.in 485 Bytes
Newer Older
trasz's avatar
trasz committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/efivar.pc.in.orig	2014-10-15 15:48:49.000000000 +0200
+++ src/efivar.pc.in	2015-01-19 16:23:12.000000000 +0100
@@ -1,10 +1,11 @@
-prefix=/usr
-exec_prefix=/usr
-libdir=@@LIBDIR@@
-includedir=/usr/include
+prefix=%%PREFIX%%
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
 
 Name: efivar
 Description: UEFI Variable Management
 Version: @@VERSION@@
 Requires:
-Libs: -L${libdir} -lefivar -ldl
+Libs: -L${libdir} -lefivar
+Cflags: -I${includedir}