Skip to content

Commit

Permalink
windows dll lol
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Aug 22, 2022
1 parent 210e1b3 commit c16084c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ LOADABLE_CFLAGS=-fPIC -shared

ifeq ($(shell uname -s),Darwin)
CONFIG_DARWIN=y
else ifeq ($(OS),Windows_NT)
CONFIG_WINDOWS=y
else
CONFIG_LINUX=y
endif
Expand All @@ -19,6 +21,11 @@ endif
ifdef CONFIG_LINUX
LOADABLE_EXTENSION=so
endif

ifdef CONFIG_WINDOWS
LOADABLE_EXTENSION=dll
endif

TARGET_LOADABLE=dist/path0.$(LOADABLE_EXTENSION)

DEFINE_SQLITE_PATH_DATE=-DSQLITE_PATH_DATE="\"$(DATE)\""
Expand Down

0 comments on commit c16084c

Please sign in to comment.