Merge pull request #41211 from orivej/sqlite
sqlite: do not contaminate dependent libtool-based projects with sqlite dependencies
This commit is contained in:
commit
5197a4cefd
@ -66,6 +66,11 @@ stdenv.mkDerivation rec {
|
||||
echo ""
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Do not contaminate dependent libtool-based projects with sqlite dependencies.
|
||||
sed -i $out/lib/libsqlite3.la -e "s/dependency_libs=.*/dependency_libs='''/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A self-contained, serverless, zero-configuration, transactional SQL database engine";
|
||||
downloadPage = http://sqlite.org/download.html;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, boost, sqlite, zlib }:
|
||||
{ stdenv, fetchurl, boost, sqlite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vsqlite-${version}";
|
||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "17fkj0d2jh0xkjpcayhs1xvbnh1d69f026i7vs1zqnbiwbkpz237";
|
||||
};
|
||||
|
||||
buildInputs = [ boost sqlite zlib ];
|
||||
buildInputs = [ boost sqlite ];
|
||||
|
||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile.in \
|
||||
|
Loading…
Reference in New Issue
Block a user