Skip to content

Commit

Permalink
Merge pull request #71669 from nh2/issue-70872-srt-wrong-cmake-pc-inc…
Browse files Browse the repository at this point in the history
…lude-path

srt: Fix wrong `srt.pc` include path
  • Loading branch information
nh2 authored Oct 30, 2019
2 parents 3bc7621 + f7b53c0 commit e64c3ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/srt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ];

cmakeFlags = [
# 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"
# TODO Remove this when https://github.com/Haivision/srt/issues/538 is fixed and available to nixpkgs
# Workaround for the fact that srt incorrectly disables GNUInstallDirs when LIBDIR is specified,
# see https://github.com/NixOS/nixpkgs/pull/54463#discussion_r249878330
Expand Down

0 comments on commit e64c3ab

Please sign in to comment.