Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encapsulate the internal SQLite #3

Merged

Conversation

heftig
Copy link
Contributor

@heftig heftig commented Aug 22, 2021

Add linker flags to

  • prevent the dynamic linker from using an external SQLite for this
    library (-Bsymbolic) and
  • prevent the dynamic linker from using the internal SQLite for other
    libraries (--exclude-libs ALL).

This fixes both signalapp/Signal-Desktop#4513
and signalapp/Signal-Desktop#5471 for us.

Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This fixes both signalapp/Signal-Desktop#4513
and signalapp/Signal-Desktop#5471 for us.
heftig added a commit to heftig/better-sqlite3 that referenced this pull request Aug 22, 2021
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp#3 that seems OK to
upstream further.
JoshuaWise pushed a commit to WiseLibs/better-sqlite3 that referenced this pull request Aug 23, 2021
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp/better-sqlite3#3 that seems OK to
upstream further.
@indutny-signal
Copy link
Contributor

Sorry it took me a long time to get to this. Thanks so much for contributing it!

@indutny-signal indutny-signal merged commit b004aca into signalapp:better-sqlcipher Oct 27, 2021
@kpcyrd
Copy link

kpcyrd commented Oct 28, 2021

hi! just a quick heads-up, signal-desktop v5.22.0 that was just released uses 32828e0 which is the feature/log-corruption feature branch :)

@indutny-signal
Copy link
Contributor

@kpcyrd thanks for bringing it up. We try to keep dependencies unchanged between beta and prod releases where possible. It should go into the 5.23.x beta, though!

Wambou pushed a commit to Wambou/better-sqlite3-multiple-ciphers that referenced this pull request Nov 3, 2021
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp/better-sqlite3#3 that seems OK to
upstream further.
adamharris1219 added a commit to adamharris1219/Databaser-better-sqlite3 that referenced this pull request Nov 24, 2022
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp/better-sqlite3#3 that seems OK to
upstream further.
webdev123123 added a commit to webdev123123/better-sqlite3 that referenced this pull request Sep 17, 2023
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp/better-sqlite3#3 that seems OK to
upstream further.
maplemike pushed a commit to GlobalTill/nsqlite3 that referenced this pull request Jan 25, 2024
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp/better-sqlite3#3 that seems OK to
upstream further.
maplemike added a commit to GlobalTill/nsqlite3 that referenced this pull request Jan 25, 2024
Add linker flags to
 - prevent the dynamic linker from using an external SQLite for this
   library (`-Bsymbolic`) and
 - prevent the dynamic linker from using the internal SQLite for other
   libraries (`--exclude-libs ALL`).

This is just a (conflict-free) cherry-pick of a Signal-specific fix in
signalapp/better-sqlite3#3 that seems OK to
upstream further.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants