Skip to content

Commit

Permalink
don't build with cairo support on all platforms by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Nov 24, 2011
1 parent 17d84e9 commit 5fb48c1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 3,171 deletions.
20 changes: 10 additions & 10 deletions build.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@
],
'defines': [
'PLATFORM="<(OS)"',
'HAVE_CAIRO',
'HAVE_JPEG',
'MAPNIK_THREADSAFE',
'HAVE_LIBXML2',
'LIBTOOL_SUPPORTS_ADVISE',
'HAVE_JPEG',
'MAPNIK_THREADSAFE',
'HAVE_LIBXML2',
'LIBTOOL_SUPPORTS_ADVISE',
],
'conditions': [
[ 'OS=="mac"', {
Expand All @@ -54,12 +53,14 @@
'/usr/include',
],
'defines': [
#'HAVE_CAIRO',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
],
}],
[ 'OS=="win"', {
'defines': [
'HAVE_CAIRO',
'PLATFORM="win32"',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
Expand All @@ -72,17 +73,16 @@
'libraries': [
'mapnik2.lib',
'node.lib',
#'v8_base.lib',
'icuuc.lib',
'libboost_regex-vc100-mt-1_48.lib',
],
'include_dirs': [
'c:\\mapnik-2.0\\include',
'c:\\dev2\\freetype',
'c:\\dev2\\freetype\\include',
'C:\\dev2\\cairo\\src',
'c:\\dev2\\cairomm',
'C:\\dev2\\libsigc++',
'C:\\dev2\\cairo\\src',
'c:\\dev2\\cairomm',
'C:\\dev2\\libsigc++',
'c:\\dev2\\boost-vc100\\include\\boost-1_48',
'c:\\dev2\\node-v0.6.2\\deps\\v8\\include',
'c:\\dev2\\node-v0.6.2\\src',
Expand All @@ -94,12 +94,12 @@
'msvs_settings': {
'VCLinkerTool': {
'AdditionalOptions': [
# https://github.com/mapnik/node-mapnik/issues/74
'/FORCE:MULTIPLE'
],
'AdditionalLibraryDirectories': [
'c:\\dev2\\node-v0.6.2\\Release\\lib',
'c:\\dev2\\node-v0.6.2\\Release',
#'C:\\mapnik-2.0\\lib',
'C:\\dev2\\mapnik-packaging\\windows\\build\\src\\msvc-9.0\\release\\threading-multi',
'C:\\dev2\\boost-vc100\\lib',
'C:\\dev2\\icu\\lib',
Expand Down
Loading

0 comments on commit 5fb48c1

Please sign in to comment.