mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 17:48:01 +00:00
tinyobjloader: fix paths in pkg-config file
This commit is contained in:
parent
960e3c40c6
commit
347b676aeb
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# https://github.com/tinyobjloader/tinyobjloader/issues/336
|
||||
postPatch = ''
|
||||
substituteInPlace tinyobjloader.pc.in \
|
||||
--replace '$'{prefix}/@TINYOBJLOADER_LIBRARY_DIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||
--replace '$'{prefix}/@TINYOBJLOADER_INCLUDE_DIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tinyobjloader/tinyobjloader";
|
||||
description = "Tiny but powerful single file wavefront obj loader";
|
||||
|
Loading…
Reference in New Issue
Block a user