put png_cflags in cflags not includes to avoid gyp double completing with -I

This commit is contained in:
Dane Springmeyer
2014-02-04 11:33:18 -08:00
parent 023edc13eb
commit 74aeab8ac7

View File

@@ -19,15 +19,41 @@
'PUBLIC_HEADERS_FOLDER_PATH': 'include'
},
'include_dirs':[
'./include',
'./include'
],
'cflags': [
'<@(png_cflags)'
],
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS':[
'<@(png_cflags)'
]
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {
'OTHER_LDFLAGS': [
'<@(png_libraries)'
]
}
}, {
'libraries': [
'<@(png_libraries)'
]
}]
],
'direct_dependent_settings': {
'include_dirs':[
'./include',
'./include'
],
'cflags': [
'<@(png_cflags)'
],
# workaround xcode bug
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS':[
'<@(png_cflags)'
]
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {
@@ -60,15 +86,41 @@
'PUBLIC_HEADERS_FOLDER_PATH': 'include'
},
'include_dirs':[
'./include',
'./include'
],
'cflags': [
'<@(png_cflags)'
],
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS':[
'<@(png_cflags)'
]
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {
'OTHER_LDFLAGS': [
'<@(png_libraries)'
]
}
}, {
'libraries': [
'<@(png_libraries)'
]
}]
],
'direct_dependent_settings': {
'include_dirs':[
'./include',
'./include'
],
'cflags': [
'<@(png_cflags)'
],
# workaround xcode bug
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS':[
'<@(png_cflags)'
]
},
'conditions': [
['OS == "mac"', {
'xcode_settings': {