Merge pull request #191782 from trofi/opusfile-add-dev

opusfile: add "dev" output
This commit is contained in:
Sergei Trofimovich 2022-09-21 09:13:21 +01:00 committed by GitHub
commit 5f257ad2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl libogg ];
propagatedBuildInputs = [ libopus ];
outputs = [ "out" "dev" ];
patches = [ ./include-multistream.patch ]
# fixes problem with openssl 1.1 dependency
# see https://github.com/xiph/opusfile/issues/13

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [
"-I${SDL2.dev}/include/SDL2"
"-I${opusfile}/include/opus"
"-I${opusfile.dev}/include/opus"
];
NIX_CFLAGS_LINK = [ "-lSDL2" ];