guile-lib: fix build with gettext 0.25 (#425823)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
gettext,
|
||||
guile,
|
||||
pkg-config,
|
||||
texinfo,
|
||||
@@ -34,6 +35,11 @@ stdenv.mkDerivation rec {
|
||||
--replace 'SITECCACHEDIR="$libdir/guile-lib/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"' 'SITECCACHEDIR="$libdir/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"'
|
||||
'';
|
||||
|
||||
# error: possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS
|
||||
preAutoreconf = ''
|
||||
cp ${gettext}/share/gettext/m4/lib-{ld,link,prefix}.m4 m4
|
||||
'';
|
||||
|
||||
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
Reference in New Issue
Block a user