Skip to content

Commit

Permalink
picosat: fix darwin build
Browse files Browse the repository at this point in the history
/cc ZHF #36454

(cherry picked from commit 23d0c17)
  • Loading branch information
LnL7 committed Mar 24, 2018
1 parent f6c0edb commit 3976ff7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/applications/science/logic/picosat/default.nix
Expand Up @@ -19,6 +19,9 @@ stdenv.mkDerivation rec {

configurePhase = "./configure.sh --shared --trace";

makeFlags = stdenv.lib.optional stdenv.isDarwin
"SONAME=-Wl,-install_name,$(out)/lib/libpicosat.so";

installPhase = ''
mkdir -p $out/bin $out/lib $out/share $out/include/picosat
cp picomus picomcs picosat picogcnf "$out"/bin
Expand Down

0 comments on commit 3976ff7

Please sign in to comment.