libspatialite: link missing mod_spatialite.dylib

fix #19856
This commit is contained in:
A.J.Rouvoet 2016-10-25 15:25:56 +02:00
parent 76b696d7db
commit b85d9003f2
1 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,6 @@
{ stdenv, fetchurl, pkgconfig, libxml2, sqlite, zlib, proj, geos, libiconv }:
{ stdenv, lib, fetchurl, pkgconfig, libxml2, sqlite, zlib, proj, geos, libiconv }:
with lib;
stdenv.mkDerivation rec {
name = "libspatialite-4.2.0";
@ -14,7 +16,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
postInstall = "" + optionalString stdenv.isDarwin ''
ln -s $out/lib/mod_spatialite.{so,dylib}
'';
meta = {
description = "Extensible spatial index library in C++";
homepage = https://www.gaia-gis.it/fossil/libspatialite;
# They allow any of these