Merge pull request #40 from wojdyr/master Correct the -L flag in libffi.pc.in
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}