Skip to content

Commit

Permalink
time: do not bundle on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
nalgeon committed Aug 27, 2024
1 parent 99dab1b commit 94d8934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ compile-windows-x86:
gcc -O3 $(WIN32_FLAGS) src/sqlite3-unicode.c src/unicode/*.c -o dist/x86/unicode.dll
gcc -O3 $(WIN32_FLAGS) src/sqlite3-uuid.c src/uuid/*.c -o dist/x86/uuid.dll
gcc -O3 $(WIN32_FLAGS) src/sqlite3-vsv.c src/vsv/*.c -o dist/x86/vsv.dll -lm
gcc -O1 $(WIN32_FLAGS) -include src/regexp/constants.h src/sqlite3-sqlean.c src/crypto/*.c src/define/*.c src/fileio/*.c src/fuzzy/*.c src/math/*.c src/regexp/*.c src/regexp/pcre2/*.c src/stats/*.c src/text/*.c src/text/*/*.c src/time/*.c src/unicode/*.c src/uuid/*.c src/vsv/*.c -o dist/x86/sqlean.dll -lm
gcc -O1 $(WIN32_FLAGS) -include src/regexp/constants.h src/sqlite3-sqlean.c src/crypto/*.c src/define/*.c src/fileio/*.c src/fuzzy/*.c src/math/*.c src/regexp/*.c src/regexp/pcre2/*.c src/stats/*.c src/text/*.c src/text/*/*.c src/unicode/*.c src/uuid/*.c src/vsv/*.c -o dist/x86/sqlean.dll -lm

pack-windows:
7z a -tzip dist/sqlean-win-x86.zip ./dist/x86/*.dll
Expand Down
2 changes: 2 additions & 0 deletions src/sqlite3-sqlean.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ __declspec(dllexport)
regexp_init(db);
stats_init(db);
text_init(db);
#if !defined(_WIN32) || defined(_WIN64)
time_init(db);
#endif
unicode_init(db);
uuid_init(db);
vsv_init(db);
Expand Down

1 comment on commit 94d8934

@barracuda156
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nalgeon Shouldn't it use SQLEAN_OMIT_UUID7 as a guard instead?

Please sign in to comment.