1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

README fix for PKG_CONFIG=true

* README: Add note that if you override pkg-config, you need to set
  libffi flags as well. Thanks to Mark Weaver.
This commit is contained in:
Andy Wingo 2010-08-28 10:41:27 -07:00
parent 23988e8c50
commit 35b6730879

15
README
View file

@ -101,10 +101,10 @@ Guile requires the following external packages:
- pkg-config - pkg-config
Guile's ./configure script uses pkg-config to discover the correct Guile's ./configure script uses pkg-config to discover the correct
compile and link options for libgc. If you don't have pkg-config compile and link options for libgc and libffi. If you don't have
installed, or you have a version of libgc that doesn't provide a pkg-config installed, or you have a version of libgc that doesn't
.pc file, you can work around this by setting some variables as provide a .pc file, you can work around this by setting some
part of the configure command-line: variables as part of the configure command-line:
- PKG_CONFIG=true - PKG_CONFIG=true
@ -112,6 +112,13 @@ Guile requires the following external packages:
- BDW_GC_LIBS=<linker flags for picking up the libgc library> - BDW_GC_LIBS=<linker flags for picking up the libgc library>
Note that because you're bypassing all pkg-config checks, you will
also have to specify libffi flags as well:
- LIBFFI_CFLAGS=<compile flags for picking up libffi headers>
- LIBFFI_LIBS=<linker flags for picking up the libffi library>
Special Instructions For Some Systems ===================================== Special Instructions For Some Systems =====================================