You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

  1. --- a/libffi.pc.in
  2. +++ b/libffi.pc.in
  3. @@ -1,10 +1,10 @@
  4. prefix=@prefix@
  5. exec_prefix=@exec_prefix@
  6. libdir=@libdir@
  7. -includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
  8. +includedir=@includedir@
  9. Name: @PACKAGE_NAME@
  10. Description: Library supporting Foreign Function Interfaces
  11. Version: @PACKAGE_VERSION@
  12. -Libs: -L${libdir} -lffi
  13. -Cflags: -I${includedir}
  14. +Libs: -lffi
  15. +Cflags:
  16. --- a/include/Makefile.am
  17. +++ b/include/Makefile.am
  18. @@ -5,5 +5,5 @@ AUTOMAKE_OPTIONS=foreign
  19. DISTCLEANFILES=ffitarget.h
  20. EXTRA_DIST=ffi.h.in ffi_common.h
  21. -includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
  22. +includesdir = $(includedir)
  23. nodist_includes_HEADERS = ffi.h ffitarget.h
  24. --- a/include/Makefile.in
  25. +++ b/include/Makefile.in
  26. @@ -250,7 +250,7 @@ top_srcdir = @top_srcdir@
  27. AUTOMAKE_OPTIONS = foreign
  28. DISTCLEANFILES = ffitarget.h
  29. EXTRA_DIST = ffi.h.in ffi_common.h
  30. -includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
  31. +includesdir = $(includedir)
  32. nodist_includes_HEADERS = ffi.h ffitarget.h
  33. all: all-am