This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Header installation directory
- From: Jeffrey Walton <noloader at gmail dot com>
- To: libffi-discuss at sourceware dot org
- Date: Fri, 2 Feb 2018 13:28:06 -0500
- Subject: Header installation directory
- Authentication-results: sourceware.org; auth=none
- Reply-to: noloader at gmail dot com
Hi Everyone,
My apologies for this question... I configured with
--prefix=/usr/local and --libdir=/usr/local/lib64 on Fedora. Build and
install seems to go well, but this caught my eye:
gmake[3]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/local/lib64/libffi-3.2.1/include'
/bin/install -c -m 644 ffi.h ffitarget.h
'/usr/local/lib64/libffi-3.2.1/include'
The header file location seems a bit unusual. Are headers supposed to
be installed below the libdir?
The libffi home page does not discuss header file location, and I did
not see an INSTALL or README to look it up. I also did not see an
option when running ./configure --help.
Looking at Stallman's
https://www.gnu.org/software/make/manual/html_node/Directory-Variables.html
, I don't really see a place for a version-specific set of header
files. It looks like the convention is to overwrite old headers with
new headers when from the same package.
Thanks in advance,
Jeff