Skip to content

Commit

Permalink
get the defines right on windows, actually enabling icu regex support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Feb 20, 2013
1 parent f1bba3a commit 7c05521
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions build.gyp
Expand Up @@ -37,11 +37,7 @@
'<@(node_mapnik_sources)',
],
'defines': [
'PLATFORM="<(OS)"',
'HAVE_JPEG',
'MAPNIK_THREADSAFE',
'BIGINT',
'HAVE_LIBXML2'
'PLATFORM="<(OS)"'
],
'conditions': [
[ 'OS=="mac"', {
Expand All @@ -66,10 +62,16 @@
}],
[ 'OS=="win"', {
'defines': [
'HAVE_JPEG',
'HAVE_PNG',
'HAVE_TIFF',
'MAPNIK_USE_PROJ4',
'BOOST_REGEX_HAS_ICU',
'MAPNIK_THREADSAFE',
'BIGINT',
'HAVE_LIBXML2'
'HAVE_CAIRO',
'PLATFORM="win32"',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'_WINDOWS',
'__WINDOWS__', # ltdl
'BUILDING_NODE_EXTENSION'
Expand All @@ -78,6 +80,7 @@
'mapnik.lib',
'node.lib',
'icuuc.lib',
'icuin.lib',
'libboost_regex-vc100-mt-1_49.lib',
],
'include_dirs': [
Expand Down

0 comments on commit 7c05521

Please sign in to comment.