mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #71669 from nh2/issue-70872-srt-wrong-cmake-pc-include-path
srt: Fix wrong `srt.pc` include path
This commit is contained in:
commit
e64c3abd21
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user