nixpkgs/pkgs/development/libraries/clipper2/0001-fix-pc-paths.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
476 B
Diff
Raw Normal View History

2023-06-10 04:16:36 +02:00
diff --git a/Clipper2.pc.cmakein b/Clipper2.pc.cmakein
index 5632c93..0a5d6ba 100644
--- a/Clipper2.pc.cmakein
+++ b/Clipper2.pc.cmakein
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: Clipper2@PCFILE_LIB_SUFFIX@
Description: A Polygon Clipping and Offsetting library in C++