summaryrefslogtreecommitdiffstats
path: root/package/libcodec2/0001-fix-codec2-pc-in.patch
blob: 5950219de29a6cb53c9b696a7de26d6b51035e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.petazzoni@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
OpenPOWER on IntegriCloud