Merge pull request #85385 from takikawa/racket-enable-useprefix

racket: use --enable-useprefix configure flag.
This commit is contained in:
Florian Klink 2020-04-17 13:17:00 +02:00 committed by GitHub
commit 357be5c66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,10 @@ stdenv.mkDerivation rec {
'';
shared = if stdenv.isDarwin then "dylib" else "shared";
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool"
# The following flag is a temporary workaround for an upstream bug:
# https://github.com/racket/racket/issues/3046
"--enable-useprefix" ]
++ stdenv.lib.optional disableDocs [ "--disable-docs" ]
++ stdenv.lib.optional stdenv.isDarwin [ "--enable-xonx" ];