libffi/libffi-3.1-fix-include-path.patch

18 lines
597 B
Diff
Raw Normal View History

2014-06-12 10:10:19 +00:00
diff -up libffi-3.1/libffi.pc.in.fixpath libffi-3.1/libffi.pc.in
--- libffi-3.1/libffi.pc.in.fixpath 2014-04-25 19:45:13.000000000 +0200
+++ libffi-3.1/libffi.pc.in 2014-06-12 12:06:06.000000000 +0200
@@ -1,11 +1,10 @@
prefix=@prefix@
2014-05-19 17:10:53 +00:00
exec_prefix=@exec_prefix@
libdir=@libdir@
2014-06-12 10:10:19 +00:00
-toolexeclibdir=@toolexeclibdir@
2014-05-19 17:10:53 +00:00
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
2014-06-12 09:59:41 +00:00
+includedir=@includedir@
2014-05-19 17:10:53 +00:00
Name: @PACKAGE_NAME@
Description: Library supporting Foreign Function Interfaces
2014-06-12 10:10:19 +00:00
Version: @PACKAGE_VERSION@
-Libs: -L${toolexeclibdir} -lffi
+Libs: -L${libdir} -lffi
Cflags: -I${includedir}