Skip to content

Commit

Permalink
don't need iconv on linux -- it's in glibc. Sigh.
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed May 20, 2011
1 parent 6a86d4b commit cf19a0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wscript
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def configure(conf):
conf.check_tool('compiler_cxx') conf.check_tool('compiler_cxx')
conf.check_tool('node_addon') conf.check_tool('node_addon')
conf.check_cxx(lib='GeoIP', mandatory=True, uselib_store='GeoIP') conf.check_cxx(lib='GeoIP', mandatory=True, uselib_store='GeoIP')
conf.check_cxx(lib='iconv', mandatory=True, uselib_store='GeoIP') if not sys.platform.startswith("linux"):
conf.check_cxx(lib='iconv', mandatory=True, uselib_store='GeoIP')


def build(context, target=target): def build(context, target=target):
obj = context.new_task_gen('cxx', 'shlib', 'node_addon') obj = context.new_task_gen('cxx', 'shlib', 'node_addon')
Expand Down

0 comments on commit cf19a0d

Please sign in to comment.