mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
configure: automatically fail the check for rpath on AIX systems and provide a --disable-rpath flag as a fallback for use on platforms which pass the configure-time rpath check but then fail at link-time. Based on discussion in [forum:ae5bd8a84b|forum thread ae5bd8a84b].
FossilOrigin-Name: a15e0f6802a5ba7bc5a7a70d6a162ea4548b49b132a5ac31263e64c388bbafcb
This commit is contained in:
@ -244,6 +244,9 @@ proc sqlite-config-bootstrap {buildMode} {
|
||||
static-shell=1 => {Link the sqlite3 shell app against the DLL instead of embedding sqlite3.c}
|
||||
}
|
||||
{*} {
|
||||
# rpath: https://sqlite.org/forum/forumpost/fa3a6ed858
|
||||
rpath=1
|
||||
=> {Disable checking for rpath support}
|
||||
# soname: https://sqlite.org/src/forumpost/5a3b44f510df8ded
|
||||
soname:=legacy
|
||||
=> {SONAME for libsqlite3.so. "none", or not using this flag, sets no
|
||||
@ -644,6 +647,17 @@ proc sqlite-handle-debug {} {
|
||||
}
|
||||
}
|
||||
|
||||
########################################################################
|
||||
# If the --disable-rpath flag is used, this [define]s LDFLAGS_RPATH to
|
||||
# an empty string, else it invokes [proj-check-rpath].
|
||||
proc sqlite-handle-rpath {} {
|
||||
proj-if-opt-truthy rpath {
|
||||
proj-check-rpath
|
||||
} {
|
||||
define LDFLAGS_RPATH ""
|
||||
}
|
||||
}
|
||||
|
||||
########################################################################
|
||||
# "soname" for libsqlite3.so. See discussion at:
|
||||
# https://sqlite.org/src/forumpost/5a3b44f510df8ded
|
||||
|
Reference in New Issue
Block a user