Install public headers in the standard path
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 13 Nov 2016 11:17:19 +0000 (19:17 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sun, 13 Nov 2016 11:20:53 +0000 (19:20 +0800)
include/Makefile.am
libffi.pc.in

index bb241e8..c59df9f 100644 (file)
@@ -6,5 +6,4 @@ DISTCLEANFILES=ffitarget.h
 noinst_HEADERS=ffi_common.h ffi_cfi.h
 EXTRA_DIST=ffi.h.in
 
-includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
-nodist_includes_HEADERS = ffi.h ffitarget.h
+nodist_include_HEADERS = ffi.h ffitarget.h
index edf6fde..6fad83b 100644 (file)
@@ -2,7 +2,7 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 toolexeclibdir=@toolexeclibdir@
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
+includedir=@includedir@
 
 Name: @PACKAGE_NAME@
 Description: Library supporting Foreign Function Interfaces