summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-29 20:33:17 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-29 20:33:17 +0000
commit9b4a61a7aa4f4e1b9fe307da8cba432bc3629a42 (patch)
tree16c45b83c9bda854a86747933a4cf9e539f3983e /o3d
parentf1ce6e6c4d6bb08bd1534170b4647aabf8ff25ef (diff)
downloadchromium_src-9b4a61a7aa4f4e1b9fe307da8cba432bc3629a42.zip
chromium_src-9b4a61a7aa4f4e1b9fe307da8cba432bc3629a42.tar.gz
chromium_src-9b4a61a7aa4f4e1b9fe307da8cba432bc3629a42.tar.bz2
Fix linux dependency making into osx, windows
Review URL: http://codereview.chromium.org/151036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/main.scons3
1 files changed, 2 insertions, 1 deletions
diff --git a/o3d/main.scons b/o3d/main.scons
index d734b41..66f4137 100644
--- a/o3d/main.scons
+++ b/o3d/main.scons
@@ -662,7 +662,8 @@ linux_env = binaries_env.Clone(
CG_DIR = '$CG_BASE_DIR/linux',
)
linux_env.FilterOut(CPPDEFINES = ['OS_LINUX=OS_LINUX'])
-linux_env.ParseConfig('pkg-config --cflags --libs gtk+-2.0')
+if base_env.Bit('host_linux'):
+ linux_env.ParseConfig('pkg-config --cflags --libs gtk+-2.0')
linux_env.Append(
RENDERER_INCLUDE_PATH = [