Skip to content

Commit

Permalink
win Release fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Aug 24, 2024
1 parent 68a294a commit e0edfac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,18 @@ $(BUILD_DIR):


ifdef CONFIG_WINDOWS

ifdef release
BUILT_LOADABLE_PATH=$(BUILD_DIR)/Release/lembed0.$(LOADABLE_EXTENSION)
EXTRA_CMAKE_BUILD=--config Release
else
BUILT_LOADABLE_PATH=$(BUILD_DIR)/Debug/lembed0.$(LOADABLE_EXTENSION)
endif

else
BUILT_LOADABLE_PATH=$(BUILD_DIR)/lembed0.$(LOADABLE_EXTENSION)
endif

$(TARGET_LOADABLE): sqlite-lembed.c sqlite-lembed.h $(BUILD_DIR) $(prefix)
cmake --build $(BUILD_DIR) -t sqlite_lembed
cmake --build $(BUILD_DIR) -t sqlite_lembed $(EXTRA_CMAKE_BUILD)
ls $(BUILD_DIR)
cp $(BUILT_LOADABLE_PATH) $@

Expand Down

0 comments on commit e0edfac

Please sign in to comment.