Fix compilation on macos 11.0
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
{port_env, [{"DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"},
|
||||
{"DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"},
|
||||
{"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"},
|
||||
{"darwin", "DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"},
|
||||
{"darwin", "DRV_LDFLAGS", "$DRV_LDFLAGS"},
|
||||
{".*darwin.*", "DRV_CFLAGS", "$DRV_CFLAGS -DERLANG_SQLITE3_NO_LOAD_EXTENSION"},
|
||||
{".*win32.*", "DRV_CFLAGS", "$DRV_CFLAGS /O2 /Isqlite3_amalgamation /Ic_src /W4 /wd4100 /wd4204 /wd4820 /wd4255 /wd4668 /wd4710 /wd4711"},
|
||||
{".*win32.*", "DRV_LDFLAGS", "$DRV_LDFLAGS sqlite3.lib"}]}.
|
||||
{cover_enabled, true}.
|
||||
|
||||
Reference in New Issue
Block a user