Merge pull request #268657 from wegank/racket-darwin

racket: fix build on darwin
This commit is contained in:
Weijia Wang 2023-11-20 16:51:08 +01:00 committed by GitHub
commit dfa92919f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ stdenv.mkDerivation rec {
shared = if stdenv.isDarwin then "dylib" else "shared";
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
++ lib.optionals disableDocs [ "--disable-docs" ]
++ lib.optionals stdenv.isDarwin [ "--enable-xonx" ];
++ lib.optionals stdenv.isDarwin [ "--disable-strip" "--enable-xonx" ];
configureScript = "../configure";