mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Add LIB_GETRANDOM
to Libs.private
in .pc
files
The omission was discovered while cross-compiling LilyPond with mingw 11.0.1: without this addition, linking with libguile causes the error undefined reference to `BCryptGenRandom' * meta/Makefile.am (dependency_substitutions): Add ‘LIB_GETRANDOM’. * meta/guile-3.0-uninstalled.pc.in (Libs.private): Likewise. * meta/guile-3.0.pc.in (Libs.private): Likewise. * NEWS: Update. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b3a4dea943
commit
25c9440e4d
4 changed files with 11 additions and 8 deletions
2
NEWS
2
NEWS
|
@ -76,6 +76,8 @@ every line in a file.
|
||||||
previously Guile would pass through the related exception. Now it
|
previously Guile would pass through the related exception. Now it
|
||||||
prints the file descriptor instead (as it does when `ttyname` isn't
|
prints the file descriptor instead (as it does when `ttyname` isn't
|
||||||
available or the port isn't a tty).
|
available or the port isn't a tty).
|
||||||
|
** Fix build error when cross-compiling to MinGW
|
||||||
|
(<https://bugs.gnu.org/75642>)
|
||||||
|
|
||||||
|
|
||||||
Changes in 3.0.10 (since 3.0.9)
|
Changes in 3.0.10 (since 3.0.9)
|
||||||
|
|
|
@ -81,6 +81,7 @@ dependency_substitutions = \
|
||||||
-e "s|[@]BDW_GC_CFLAGS[@]|$(BDW_GC_CFLAGS)|g" \
|
-e "s|[@]BDW_GC_CFLAGS[@]|$(BDW_GC_CFLAGS)|g" \
|
||||||
-e "s|[@]BDW_GC_LIBS[@]|$(BDW_GC_LIBS)|g" \
|
-e "s|[@]BDW_GC_LIBS[@]|$(BDW_GC_LIBS)|g" \
|
||||||
-e "s|[@]LIB_CLOCK_GETTIME[@]|$(LIB_CLOCK_GETTIME)|g" \
|
-e "s|[@]LIB_CLOCK_GETTIME[@]|$(LIB_CLOCK_GETTIME)|g" \
|
||||||
|
-e "s|[@]LIB_GETRANDOM[@]|$(LIB_GETRANDOM)|g" \
|
||||||
-e "s|[@]LIBGMP[@]|$(LIBGMP)|g" \
|
-e "s|[@]LIBGMP[@]|$(LIBGMP)|g" \
|
||||||
-e "s|[@]LIBLTDL[@]|$(LIBLTDL)|g" \
|
-e "s|[@]LIBLTDL[@]|$(LIBLTDL)|g" \
|
||||||
-e "s|[@]LIBFFI_LIBS[@]|$(LIBFFI_LIBS)|g" \
|
-e "s|[@]LIBFFI_LIBS[@]|$(LIBFFI_LIBS)|g" \
|
||||||
|
|
|
@ -5,8 +5,8 @@ Name: GNU Guile (uninstalled)
|
||||||
Description: GNU's Ubiquitous Intelligent Language for Extension (uninstalled)
|
Description: GNU's Ubiquitous Intelligent Language for Extension (uninstalled)
|
||||||
Version: @GUILE_VERSION@
|
Version: @GUILE_VERSION@
|
||||||
Libs: -L${builddir}/libguile -lguile-@GUILE_EFFECTIVE_VERSION@ @BDW_GC_LIBS@
|
Libs: -L${builddir}/libguile -lguile-@GUILE_EFFECTIVE_VERSION@ @BDW_GC_LIBS@
|
||||||
Libs.private: @LIB_CLOCK_GETTIME@ @LIBGMP@ @LIBLTDL@ @LIBFFI_LIBS@ \
|
Libs.private: @LIB_CLOCK_GETTIME@ @LIB_GETRANDOM@ @LIBGMP@ @LIBLTDL@ \
|
||||||
@LIBUNISTRING@ @GUILE_LIBS@ @LIBICONV@ @LIBINTL@ @LIBSOCKET@ \
|
@LIBFFI_LIBS@ @LIBUNISTRING@ @GUILE_LIBS@ @LIBICONV@ @LIBINTL@ \
|
||||||
@SERVENT_LIB@ @HOSTENT_LIB@ @GETADDRINFO_LIB@ @INET_NTOP_LIB@ \
|
@LIBSOCKET@ @SERVENT_LIB@ @HOSTENT_LIB@ @GETADDRINFO_LIB@ \
|
||||||
@INET_PTON_LIB@
|
@INET_NTOP_LIB@ @INET_PTON_LIB@
|
||||||
Cflags: -I${srcdir} -I${builddir} @GUILE_CFLAGS@ @BDW_GC_CFLAGS@
|
Cflags: -I${srcdir} -I${builddir} @GUILE_CFLAGS@ @BDW_GC_CFLAGS@
|
||||||
|
|
|
@ -23,8 +23,8 @@ Name: GNU Guile
|
||||||
Description: GNU's Ubiquitous Intelligent Language for Extension
|
Description: GNU's Ubiquitous Intelligent Language for Extension
|
||||||
Version: @GUILE_VERSION@
|
Version: @GUILE_VERSION@
|
||||||
Libs: -L${libdir} -lguile-@GUILE_EFFECTIVE_VERSION@ @BDW_GC_LIBS@
|
Libs: -L${libdir} -lguile-@GUILE_EFFECTIVE_VERSION@ @BDW_GC_LIBS@
|
||||||
Libs.private: @LIB_CLOCK_GETTIME@ @LIBGMP@ @LIBLTDL@ @LIBFFI_LIBS@ \
|
Libs.private: @LIB_CLOCK_GETTIME@ @LIB_GETRANDOM@ @LIBGMP@ @LIBLTDL@ \
|
||||||
@LIBUNISTRING@ @GUILE_LIBS@ @LIBICONV@ @LIBINTL@ @LIBSOCKET@ \
|
@LIBFFI_LIBS@ @LIBUNISTRING@ @GUILE_LIBS@ @LIBICONV@ @LIBINTL@ \
|
||||||
@SERVENT_LIB@ @HOSTENT_LIB@ @GETADDRINFO_LIB@ @INET_NTOP_LIB@ \
|
@LIBSOCKET@ @SERVENT_LIB@ @HOSTENT_LIB@ @GETADDRINFO_LIB@ \
|
||||||
@INET_PTON_LIB@
|
@INET_NTOP_LIB@ @INET_PTON_LIB@
|
||||||
Cflags: -I${pkgincludedir}/@GUILE_EFFECTIVE_VERSION@ @GUILE_CFLAGS@ @BDW_GC_CFLAGS@
|
Cflags: -I${pkgincludedir}/@GUILE_EFFECTIVE_VERSION@ @GUILE_CFLAGS@ @BDW_GC_CFLAGS@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue