packages/libs/liboil/patches/002-pkgconfig.patch

20 lines
482 B
Diff
Raw Normal View History

--- a/liboil.pc.in
+++ b/liboil.pc.in
@@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
-includedir=@includedir@/liboil-@LIBOIL_MAJORMINOR@
+includedir=@includedir@
toolsdir=${exec_prefix}/bin
@@ -9,6 +9,6 @@ Name: liboil-@LIBOIL_MAJORMINOR@
Description: Library of Optimized Inner Loops
Version: @VERSION@
Libs: -L${libdir} -loil-@LIBOIL_MAJORMINOR@ @LIBM@ @LIBRT@
-Cflags: -I${includedir}
+Cflags: -I${includedir}/liboil-@LIBOIL_MAJORMINOR@