[build2] Build libodb-sqlite using system libsqlite3 on macOS

Boris Kolpackov boris at codesynthesis.com
Mon Oct 4 15:55:59 UTC 2021


Adnan RIHAN via users <users at build2.org> writes:

> I'm trying to build libodb-sqlite using system libsqlite3 installed
> using brew, and get the following error:
> 
> >% bpkg build libodb-sqlite "?sys:libsqlite3"
> >error: unknown package sys:libsqlite3

Try this:

bpkg build libodb-sqlite "?sys:libsqlite3/*"

Likely related to this bpkg/NEWS item:

  * The pkg-build command can now "build" a system package that doesn't have a
    stub provided its version is specified explicitly. For example:

    $ bpkg build ... ?sys:libsqlite3/* ?sys:libcurl/7.47.0



More information about the users mailing list