Merge pull request #19857 from ElessarWebb/issue-19856-spatialite

libspatialite: link missing mod_spatialite.dylib
This commit is contained in:
Graham Christensen 2016-10-28 09:01:55 -04:00 committed by GitHub
commit 23dbb1a23a

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