2016-11-29 11:33:33 +00:00
|
|
|
$NetBSD$
|
|
|
|
|
2020-07-27 03:07:44 +00:00
|
|
|
--- base/native_library_posix.cc.orig 2020-06-25 09:31:18.000000000 +0000
|
2016-11-29 11:33:33 +00:00
|
|
|
+++ base/native_library_posix.cc
|
2020-07-27 03:07:44 +00:00
|
|
|
@@ -29,7 +29,7 @@ NativeLibrary LoadNativeLibraryWithOptio
|
|
|
|
// http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892,
|
|
|
|
// and http://crbug.com/40794.
|
|
|
|
int flags = RTLD_LAZY;
|
|
|
|
-#if defined(OS_ANDROID) || !defined(RTLD_DEEPBIND)
|
|
|
|
+#if defined(OS_ANDROID) || !defined(RTLD_DEEPBIND) || defined(OS_BSD)
|
|
|
|
// Certain platforms don't define RTLD_DEEPBIND. Android dlopen() requires
|
2017-02-17 22:27:08 +00:00
|
|
|
// further investigation, as it might vary across versions. Crash here to
|
|
|
|
// warn developers that they're trying to rely on uncertain behavior.
|