Skip to content

Commit

Permalink
add depends
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Jun 15, 2011
1 parent fcdf809 commit 7acf88a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bindings/python/setup.py
Expand Up @@ -22,6 +22,7 @@

build = 'build'
options = {'perl':'perl'}
deps = [build + '/_sigar_generated.c']

def parse_args():
global options
Expand Down Expand Up @@ -59,6 +60,7 @@ def sargs(cmd):
_sigar = Extension(
"_sigar",
["_sigar.c"],
depends = deps,
include_dirs = [sigar + '/include', build],
extra_compile_args = ['-Wall'],
libraries=['sigar'],
Expand All @@ -72,6 +74,7 @@ def sargs(cmd):
_sigar = Extension(
"_sigar",
src,
depends = deps,
include_dirs = [build],
extra_compile_args = cppflags,
extra_link_args = sargs('ldflags'),
Expand Down

0 comments on commit 7acf88a

Please sign in to comment.