23 lines
687 B
Plaintext
23 lines
687 B
Plaintext
$OpenBSD: patch-third_party_sqlite_BUILD_gn,v 1.3 2017/10/28 07:36:01 robert Exp $
|
|
Index: third_party/sqlite/BUILD.gn
|
|
--- third_party/sqlite/BUILD.gn.orig
|
|
+++ third_party/sqlite/BUILD.gn
|
|
@@ -127,7 +127,7 @@ if (!use_system_sqlite) {
|
|
|
|
# Pull in config.h on Linux. This allows use of preprocessor macros which
|
|
# are not available to the build config.
|
|
- if (is_linux) {
|
|
+ if (is_linux && !is_openbsd) {
|
|
defines += [ "_HAVE_SQLITE_CONFIG_H" ]
|
|
}
|
|
|
|
@@ -161,7 +161,7 @@ if (!use_system_sqlite) {
|
|
":sqlite_warnings",
|
|
]
|
|
|
|
- if (is_linux) {
|
|
+ if (is_linux && !is_openbsd) {
|
|
libs = [ "dl" ]
|
|
} else if (is_mac || is_ios) {
|
|
libs = [
|