Commit cc9b518687e46b0d1acafdd4bc3f3b281c25a3d9

Marcin Wojdyr 2013-05-14T15:01:23

Update libffi.pc.in use -L${toolexeclibdir} instead of -L${libdir} to be consistent with Makefile.am

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}