mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
sqliteodbc: fix library location
Commit d7d3c8fd82
(sqliteodbc: update to
0.995, add more metadata) mistakenly moved libraries from $out/lib to
$out (or rather stopped moving them from $out to $out/lib).
Move them back to $out/lib where they're expected to be and referred to
by the /etc/odbcinst.ini snippet.
This commit is contained in:
parent
34484e65f3
commit
700c1323b8
1 changed files with 4 additions and 1 deletions
|
@ -91,8 +91,11 @@ args : with args;
|
||||||
|
|
||||||
configureFlags = "--with-sqlite3=${sqlite} --with-odbc=${unixODBC}";
|
configureFlags = "--with-sqlite3=${sqlite} --with-odbc=${unixODBC}";
|
||||||
|
|
||||||
|
# move libraries to $out/lib where they're expected to be
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib
|
mkdir -p "$out/lib"
|
||||||
|
mv "$out"/*.so "$out/lib"
|
||||||
|
mv "$out"/*.la "$out/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue