[PATCH 3/4] SFIDL: fix compiled-in standard include path



It's now the package specific include path instead of the generic include
directory.

Signed-off-by: Stefan Westerfeld <stefan space twc de>
---
 sfi/sfidl-options.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfi/sfidl-options.cc b/sfi/sfidl-options.cc
index 1347481..bcdeb18 100644
--- a/sfi/sfidl-options.cc
+++ b/sfi/sfidl-options.cc
@@ -168,7 +168,7 @@ bool Options::parse (int *argc_p, char **argv_p[], const Parser& parser)
   /* add std include path */
   if (!noStdInc)
     {
-      const std::string stdinc_path = bse_installpath (BSE_INSTALLPATH_INCLUDES);
+      const std::string stdinc_path = bse_installpath (BSE_INSTALLPATH_PKGINCLUDEDIR);
       char *dir = strtok (const_cast<char*> (stdinc_path.c_str()), G_SEARCHPATH_SEPARATOR_S);
       while (dir && dir[0])
        {
-- 
2.1.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]