[PkgConfig] Use @INCLUDE_INSTALL_DIR@ instead of the hard-coded path
authorWook Song <wook16.song@samsung.com>
Thu, 25 Oct 2018 07:01:54 +0000 (16:01 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Thu, 25 Oct 2018 11:19:23 +0000 (20:19 +0900)
The existing input file for pkg-config uses the hard-coded path,
'/usr/include', to set the location to install the header files. In
order to improve portability, this patch replaces '/usr/include' with
@INCLUDE_INSTALL_DIR@ which is provided from the build script.

Signed-off-by: Wook Song <wook16.song@samsung.com>
nnstreamer.pc.in

index 274c614..0842165 100644 (file)
@@ -3,7 +3,7 @@
 prefix=@PREFIX@
 exec_prefix=@EXEC_PREFIX@
 libdir=@LIB_INSTALL_DIR@
-includedir=/usr/include
+includedir=@INCLUDE_INSTALL_DIR@
 
 Name: nnstreamer
 Description: Custom Plugin Dev Kit of Neural Network Suite for GStreamer