mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
sqsh: Fix darwin build
This commit is contained in:
parent
6fc670b00d
commit
8936f8f242
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, freetds, readline }:
|
||||
{ stdenv, fetchurl, autoreconfHook, freetds, readline, libiconv }:
|
||||
|
||||
let
|
||||
mainVersion = "2.5";
|
||||
@ -17,11 +17,13 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
substituteInPlace src/cmd_connect.c \
|
||||
--replace CS_TDS_80 CS_TDS_73
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure --replace "libct.so" "libct.dylib"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ freetds readline ];
|
||||
buildInputs = [ freetds readline libiconv ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user