summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/base.gypi2
-rwxr-xr-xchrome/chrome_browser.gypi6
-rw-r--r--gpu/gpu.gyp2
3 files changed, 10 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index dd03ad3..aee1361 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -381,6 +381,8 @@
'libraries': [
# We need rt for clock_gettime().
'-lrt',
+ # For 'native_library_linux.cc'
+ '-ldl',
],
},
}],
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 53eb819..2a19c89 100755
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -2207,6 +2207,12 @@
'../build/linux/system.gyp:nss',
'../base/base.gyp:linux_versioninfo',
],
+ 'link_settings': {
+ 'libraries': [
+ # For dlsym() in 'browser/zygote_main_linux.cc'
+ '-ldl',
+ ],
+ },
'sources!': [
# Exclude extension shelf for toolstrips.
'browser/views/extensions/extension_shelf.cc',
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index c5ace2a..678fc96 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -62,6 +62,8 @@
],
'libraries': [
'-lX11',
+ # For dlsym() in '../third_party/glew/src/glew.c'
+ '-ldl',
],
},
},