Hi

I've recently updated the libcodec2 version and makefiles for Buildroot.
The patch can be viewed at
https://github.com/buildroot/buildroot/commit/6424c0637698f537a4b2d3a41791b3b7c63322b7

To get cross-compilation with CMake to work properly and find the includes
in the staging directory, we had to patch the codec2.pc.in file.  Would it
be possible to submit this patch for a next version?
Not sure if it will get scrubbed, but I include the patch file to modify
codec2.pc.in as an attachment in anycase.

Regards

Olivier Schonken
Fix includedir in codec2.pc.in

The template file codec2.pc.in contains the wrong path to the header
files: they are installed in /usr/include/codec2 and not /usr/include/
directly.

Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com>

Index: b/codec2.pc.in
===================================================================
--- a/codec2.pc.in
+++ b/codec2.pc.in
@@ -1,6 +1,6 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
-includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/
+includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/codec2
 
 Name: codec2
 Description: A speech codec for 2400 bit/s and below
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to