summaryrefslogtreecommitdiffstats
path: root/third_party/libpng
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 19:05:52 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 19:05:52 +0000
commite0bba9950b1b2ff97835d6687a300944bd80520a (patch)
tree577e46e07e3c39771cc390e4fbf61af7ce51e6ae /third_party/libpng
parent48cac515f8ec75e347f12aba674d71955f714445 (diff)
downloadchromium_src-e0bba9950b1b2ff97835d6687a300944bd80520a.zip
chromium_src-e0bba9950b1b2ff97835d6687a300944bd80520a.tar.gz
chromium_src-e0bba9950b1b2ff97835d6687a300944bd80520a.tar.bz2
Build fix: I put the defines in the wrong section.
When building with use_system_libpng, the build will end up using the png.h from third_party because I put the defines stanza in the wrong place. (reported by fta) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libpng')
-rw-r--r--third_party/libpng/libpng.gyp6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index 4e11805..3ea279c 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -70,13 +70,13 @@
'dependencies': [
'../zlib/zlib.gyp:zlib',
],
- 'defines': [
- 'USE_SYSTEM_LIBPNG',
- ],
'direct_dependent_settings': {
'cflags': [
'<!@(pkg-config --cflags libpng)',
],
+ 'defines': [
+ 'USE_SYSTEM_LIBPNG',
+ ],
},
'link_settings': {
'ldflags': [