From e202e8d0c75c725ce4e1d483e6d0459004efedda Mon Sep 17 00:00:00 2001 From: Nathan Witmer Date: Wed, 3 Dec 2014 20:01:50 -0700 Subject: [PATCH] Ignore `src` directories when traversing libraries --- ino/commands/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ino/commands/build.py b/ino/commands/build.py index 65a9f8e..27cd086 100644 --- a/ino/commands/build.py +++ b/ino/commands/build.py @@ -221,7 +221,7 @@ def recursive_inc_lib_flags(self, libdirs): flags = SpaceList() for d in libdirs: flags.append('-I' + d) - flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples'])) + flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples','src'])) return flags def _scan_dependencies(self, dir, lib_dirs, inc_flags):