Skip to content

Commit

Permalink
Rename libjpeg_root to jpeg_root
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Oct 10, 2015
1 parent ecd5ca6 commit d9581ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
'with_gif%': 'false',
'with_pango%': 'false',
'with_freetype%': 'false',
'variables': { # Nest libjpeg_root to evaluate it before with_jpeg
'libjpeg_root%': '<!(node ./util/win_jpeg_lookup)'
'variables': { # Nest jpeg_root to evaluate it before with_jpeg
'jpeg_root%': '<!(node ./util/win_jpeg_lookup)'
},
'libjpeg_root%': '<(libjpeg_root)', # Take value of nested variable
'jpeg_root%': '<(jpeg_root)', # Take value of nested variable
'conditions': [
['libjpeg_root==""', {
['jpeg_root==""', {
'with_jpeg%': 'false'
}, {
'with_jpeg%': 'true'
Expand Down Expand Up @@ -151,10 +151,10 @@
'conditions': [
['OS=="win"', {
'libraries': [
'-l<(libjpeg_root)/lib/jpeg-static.lib'
'-l<(jpeg_root)/lib/jpeg-static.lib'
],
'include_dirs': [
'<(libjpeg_root)/include'
'<(jpeg_root)/include'
]
}, {
'libraries': [
Expand Down

0 comments on commit d9581ae

Please sign in to comment.