Skip to content

Commit

Permalink
spec: added dependency on libsqlite3 >= 3.3.8-alt2
Browse files Browse the repository at this point in the history
The calls to libsqlite3 are dispatched through "virtual table" routines,
which does not produce the dependency on libsqlite3.so.0.

struct sqlite3_api_routines {
...
};
const sqlite3_api_routines *sqlite3_api;

$ objdump -p /usr/lib/sqlite3/pcre.so |grep NEEDED
  NEEDED      libpcre.so.3
  NEEDED      libc.so.6
$ nm -D /usr/lib/sqlite3/pcre.so |grep sqlite3
00001d84 B sqlite3_api
000006e0 T sqlite3_extension_init
$
  • Loading branch information
svpv committed Jan 20, 2007
1 parent cc234c2 commit 4229ecc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlite3-pcre.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ URL: http://git.altlinux.org/people/at/packages/?p=sqlite3-pcre.git

Source: %name-%version.tar

Requires: libsqlite3 >= 3.3.8-alt2

# Automatically added by buildreq on Thu Nov 02 2006
BuildRequires: libpcre-devel libsqlite3-devel sqlite3

Expand Down

0 comments on commit 4229ecc

Please sign in to comment.