Commit 53ceaf14c5eeb16ba09745f0ca87cca367d41a90

Anthony Green 2014-02-28T01:01:02

Merge pull request #40 from wojdyr/master Correct the -L flag in libffi.pc.in

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/libffi.pc.in b/libffi.pc.in
index c2e1c7b..edf6fde 100644
--- a/libffi.pc.in
+++ b/libffi.pc.in
@@ -1,10 +1,11 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
+toolexeclibdir=@toolexeclibdir@
 includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
 
 Name: @PACKAGE_NAME@
 Description: Library supporting Foreign Function Interfaces
 Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lffi
+Libs: -L${toolexeclibdir} -lffi
 Cflags: -I${includedir}