Commit Graph

20 Commits

Author SHA1 Message Date
Stu Tomlinson
bcfbeaac80 Do not link to sqlite3 on macos
On macos (darwin), sqlite3 is embedded using "the amalgamation". There
is therefore no need to link to the system sqlite3, and doing so can
cause unexpected behaviour/failures.

Also be explicit about darwin vs. non-darwin port_specs sources.
rebar3 seems to get confused when compiling under eunit command sometimes
2020-12-18 11:43:02 +00:00
Paweł Chmielowski
093dedefa7 Fix compilation on macos 11.0 2020-12-10 14:56:46 +01:00
Badlop
118c5f02f9 Update Travis setup to compile with up to 23.0. Update Rebar 2020-06-16 16:28:35 +02:00
Drew Varner
4699529530 Fix OS X
This is my second/better attempt at fixing the OS X build. This build
explicitly includes the sqlite3 amalgamation files. sqlite shipped on
OS X is old. It doesn't support extensions. This change allows users to
build erlang-sqlite3 on OS X and pass tests.
2015-08-09 12:04:30 -04:00
Drew Varner
e408b6bd05 Fix OS X compilation
This causes the port driver to use the `brew` version of SQLite on OS X
(darwin). This version is more up-to-date an includes functionality like
loading extensions.
2015-07-23 16:07:40 -04:00
Alexey Romanov
c4aabf253f Updated rebar 2014-10-18 09:15:01 +04:00
Alexey Romanov
ef7f1a91ad Get rid of a warning on Windows 2014-10-17 23:43:04 +04:00
Alexey Romanov
56468292d5 Simplify building on Windows
Include SQLite3 3.8.6 code to avoid having to
download binaries, remove hard-coded paths,
improve documentation.
2014-10-11 13:45:05 +04:00
Alexey Romanov
1db6c42310 -Wstrict-prototypes is recommended in erl_driver docs 2014-10-11 00:19:22 +04:00
Alexey Romanov
bdf7ee7bae Separate rebar.config for dialyzer/gdb/valgrind 2011-01-13 13:57:28 +03:00
Alexey Romanov
38299010b5 Improved Makefile for Windows 2010-12-22 16:39:31 +03:00
Alexey Romanov
e0dabec964 Updated rebar and build configuration for Windows 2010-12-18 00:47:00 +03:00
Alexey Romanov
3949f15e25 Remove bad test (with equality comparison to null) 2010-12-10 09:52:48 +03:00
Alexey Romanov
9913f3681b Demonstrate segmentation fault 2010-12-09 17:51:25 +03:00
Alexey Romanov
7022e2400e Fixed most remaining warnings 2010-11-26 13:09:31 +03:00
Alexey Romanov
bab3014e1a make static works again 2010-10-14 12:25:03 +04:00
Alexey Romanov
2c84aefb48 Simplified rm -rf deps ebin priv doc/* 2010-10-14 12:12:53 +04:00
David Reid
ff4e3315ba Make sure we link to sqlite3 2010-10-12 10:53:22 -07:00
David Reid
766f8483c4 Use eunit for tests and add coverage and surefire reporting to rebar.config 2010-10-12 10:36:34 -07:00
David Reid
b66ec96249 Rebar good autoconf bad 2010-10-12 10:19:34 -07:00