diff options
Diffstat (limited to 'dependencies.py')
-rw-r--r-- | dependencies.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dependencies.py b/dependencies.py index d68e0cc..605e623 100644 --- a/dependencies.py +++ b/dependencies.py @@ -270,7 +270,13 @@ class BoostDependency(Dependency): self.lib_modules[name] = True def get_link_flags(self): - flags = [] # Fixme, add -L if necessary. + flags = [] + if self.boost_root: + # FIXME, these are in gcc format, not msvc. + # On the other hand, so are the flags that + # pkg-config returns. + flags += '-I' + os.path.join(self.boost_root, 'include') + flags += '-L' + os.path.join(self.boost_root, 'lib') for module in self.requested_modules: if module in self.lib_modules or module in self.lib_modules_mt: linkcmd = '-lboost_' + module |