diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-08-21 12:05:01 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-08-21 12:34:33 +0200 |
commit | d0888d150333a2c523cd1e46606d6219afe23dc2 (patch) | |
tree | 174215e74549ca9b9882ca88e04cc2fdee42d83a /pkgs/development/libraries/podofo | |
parent | b300dddae1a9b1b80ec933ef8574766eb35fcb00 (diff) |
treewide: fixup breakage due to absolute compiler path
Some packages just can't handle them #44767. It was tempting to try to abstract this in some way, but I didn't do that ATM.
Diffstat (limited to 'pkgs/development/libraries/podofo')
-rw-r--r-- | pkgs/development/libraries/podofo/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/podofo/default.nix b/pkgs/development/libraries/podofo/default.nix index 9a43470de3b72..51e2b5059749e 100644 --- a/pkgs/development/libraries/podofo/default.nix +++ b/pkgs/development/libraries/podofo/default.nix @@ -19,6 +19,11 @@ stdenv.mkDerivation rec { # TODO(@Dridus) remove the ++ libc at next hash break buildInputs = [ lua5 ] ++ stdenv.lib.optional stdenv.isLinux stdenv.cc.libc; + preConfigure = '' + CC=${stdenv.cc.targetPrefix}cc + CXX=${stdenv.cc.targetPrefix}c++ + ''; + cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF"; meta = { |