patch libffi.pc.in file

This commit is contained in:
alexey.lysiuk 2020-12-06 11:20:22 +02:00
parent a1f2a7d6b4
commit c6083b55b9

15
patch/ffi.patch Normal file
View file

@ -0,0 +1,15 @@
--- a/libffi.pc.in
+++ b/libffi.pc.in
@@ -1,4 +1,4 @@
-prefix=@prefix@
+prefix=
exec_prefix=@exec_prefix@
libdir=@libdir@
toolexeclibdir=@toolexeclibdir@
@@ -7,5 +7,5 @@
Name: @PACKAGE_NAME@
Description: Library supporting Foreign Function Interfaces
Version: @PACKAGE_VERSION@
-Libs: -L${toolexeclibdir} -lffi
+Libs: ${toolexeclibdir}/libffi.a
Cflags: -I${includedir}