this patch is necessary to compile free-solid-2.1.1 on Fedora 16.
free-solid-pkgconfig.patch
That one is useful to build Speed-Dreams for example, which uses CMake, which uses pkg-config to find FreeSOLID.
I've fixed the missing @@ quotes on exec_libdir and added an extra -I include directive (and removed system hardcoded /usr/lib one):
diff --git a/FreeSOLID.pc.in b/FreeSOLID.pc.in new file mode 100644 index 0000000..c354f05 --- /dev/null +++ b/FreeSOLID.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: FreeSolid +Description: 3D collision detection C++ library +Version: @VERSION@ + +Libs: -L${libdir} -lFreeSOLID @QHULL_LIBS@ +Cflags: -I${includedir} -I${includedir}/FreeSOLID
Log in to post a comment.
free-solid-pkgconfig.patch
That one is useful to build Speed-Dreams for example, which uses CMake, which uses pkg-config to find FreeSOLID.
I've fixed the missing @@ quotes on exec_libdir and added an extra -I include directive (and removed system hardcoded /usr/lib one):