mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #272809 from lilyinstarlight/fix/mupdf-pkg-config-includedir
mupdf: fix includedir in pkg-config file
This commit is contained in:
commit
0c27c78cf2
@ -155,14 +155,14 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p "$out/lib/pkgconfig"
|
||||
cat >"$out/lib/pkgconfig/mupdf.pc" <<EOF
|
||||
prefix=$out
|
||||
libdir=$out/lib
|
||||
includedir=$out/include
|
||||
libdir=\''${prefix}/lib
|
||||
includedir=\''${prefix}/include
|
||||
|
||||
Name: mupdf
|
||||
Description: Library for rendering PDF documents
|
||||
Version: ${version}
|
||||
Libs: -L$out/lib -lmupdf
|
||||
Cflags: -I$dev/include
|
||||
Libs: -L\''${libdir} -lmupdf
|
||||
Cflags: -I\''${includedir}
|
||||
EOF
|
||||
|
||||
moveToOutput "bin" "$bin"
|
||||
|
Loading…
Reference in New Issue
Block a user