summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg.c b/pkg.c
index a8a3fcd..bff5c42 100644
--- a/pkg.c
+++ b/pkg.c
@@ -745,6 +745,12 @@ verify_package (Package *pkg)
system_directories = add_env_variable_to_list (system_directories, search_path);
+ search_path = g_getenv ("CPATH");
+ if (search_path != NULL)
+ {
+ system_directories = add_env_variable_to_list (system_directories, search_path);
+ }
+
search_path = g_getenv ("C_INCLUDE_PATH");
if (search_path != NULL)
{