Commit 87ae8cdf by Yuly Novikov Committed by Commit Bot

Fix Linux standalone compilation.

simple_texture_2d, hello_triangle, stencil_operations, simple_texture_cubemap fail to compile after https://chromium-review.googlesource.com/342050. BUG=angleproject:1319 TEST=ninja -C out/Release all Change-Id: Ib70008036f8688b737f3f40b5224437a7afdea19 Reviewed-on: https://chromium-review.googlesource.com/346121Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
parent 771f307f
......@@ -117,7 +117,9 @@ static_library("angle_common") {
"//build/config/compiler:no_chromium_code",
]
public_deps = [ ":commit_id" ]
public_deps = [
":commit_id",
]
}
static_library("translator_lib") {
......@@ -290,9 +292,7 @@ static_library("libANGLE") {
}
if (use_x11) {
sources += rebase_path(gles_gypi.libangle_gl_glx_sources, ".", "src")
deps += [
"src/third_party/libXNVCtrl:libXNVCtrl"
]
deps += [ "src/third_party/libXNVCtrl:libXNVCtrl" ]
libs += [
"X11",
"Xi",
......@@ -398,7 +398,10 @@ static_library("angle_util") {
if (is_linux) {
sources += rebase_path(util_gypi.util_linux_sources, ".", "util")
libs = [ "rt" ]
libs = [
"rt",
"dl",
]
}
if (is_mac) {
......
......@@ -149,6 +149,13 @@
[
'<@(util_linux_sources)',
],
'link_settings':
{
'libraries':
[
'-ldl',
],
},
}],
['use_x11==1',
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment