* libiodbc: fix the iodbctest program, which had a broken RPATH.
svn path=/nixpkgs/trunk/; revision=34506
This commit is contained in:
parent
4f19239875
commit
3c948a1a03
|
@ -1,15 +1,20 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, gtk, useGTK ? false }:
|
{ stdenv, fetchurl, pkgconfig, gtk, useGTK ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libiodbc-3.52.7";
|
name = "libiodbc-3.52.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/downloads/iODBC/${name}.tar.gz";
|
url = "mirror://sourceforge/iodbc/${name}.tar.gz";
|
||||||
sha256 = "d7002cc7e566785f1203f6096dcb49b0aad02a9d9946a8eca5d663ac1a85c0c7";
|
sha256 = "16hjb6fcval85gnkgkxfhw4c5h3pgf86awyh8p2bhnnvzc0ma5hq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals useGTK [ gtk pkgconfig ];
|
buildInputs = stdenv.lib.optionals useGTK [ gtk pkgconfig ];
|
||||||
|
|
||||||
|
preBuild =
|
||||||
|
''
|
||||||
|
export NIX_LDFLAGS_BEFORE="-rpath $out/lib"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "iODBC driver manager";
|
description = "iODBC driver manager";
|
||||||
homepage = http://www.iodbc.org;
|
homepage = http://www.iodbc.org;
|
||||||
|
|
Loading…
Reference in New Issue