diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2020-02-29 00:11:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 00:11:09 +0000 |
commit | 04384d56cf6d88bf6fd5fd74b0a39b312b104d42 (patch) | |
tree | 4c95181db75f4232b9f5038c548f61c134f01b4f /pkgs/development/libraries | |
parent | e809f3d67e4612c50e9eca5ebcf79edae2fd600a (diff) | |
parent | ff41002b802a8d8dd77b60ca83e4f614feceeaf3 (diff) | |
download | nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.tar nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.tar.gz nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.tar.bz2 nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.tar.lz nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.tar.xz nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.tar.zst nixlib-04384d56cf6d88bf6fd5fd74b0a39b312b104d42.zip |
Merge pull request #81091 from worldofpeace/fix-exiv2-pc
exiv2: fix exiv2.pc file
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/exiv2/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index 425346df816e..dc7610ee1782 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -26,6 +26,11 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DEXIV2_BUILD_PO=ON" "-DEXIV2_BUILD_DOC=ON" + # the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly + # (setting it to an absolute path causes include files to go to $out/$out/include, + # because the absolute path is interpreted with root at $out). + "-DCMAKE_INSTALL_INCLUDEDIR=include" + "-DCMAKE_INSTALL_LIBDIR=lib" ]; outputs = [ "out" "dev" "doc" "man" ]; |