libspatialite: fix build
This commit is contained in:
parent
06960ac6a7
commit
19ebc0bd45
@ -11,12 +11,15 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ libxml2 sqlite zlib proj geos libiconv ];
|
buildInputs = [ libxml2 sqlite zlib proj geos libiconv ];
|
||||||
|
|
||||||
configureFlags = [ "--disable-freexl" ];
|
configureFlags = [ "--disable-freexl" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
CFLAGS = "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1";
|
||||||
|
|
||||||
postInstall = "" + optionalString stdenv.isDarwin ''
|
postInstall = "" + optionalString stdenv.isDarwin ''
|
||||||
ln -s $out/lib/mod_spatialite.{so,dylib}
|
ln -s $out/lib/mod_spatialite.{so,dylib}
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user