Skip to content

Commit

Permalink
Merge pull request #54 from samansmink/add-core-extensions-flag
Browse files Browse the repository at this point in the history
Add core_extensions flag
  • Loading branch information
samansmink authored Jul 29, 2024
2 parents ebf18ed + c5ab67c commit 76cf537
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion makefiles/duckdb_extension.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ ifneq ($(CXX),g++)
endif
endif

#### Core extensions, allows easily building one of the core extensions
ifneq ($(CORE_EXTENSIONS),)
CORE_EXTENSION_VAR:=-DCORE_EXTENSIONS="$(CORE_EXTENSIONS)"
endif

#### OSX config
OSX_BUILD_FLAG=
ifneq (${OSX_BUILD_ARCH}, "")
Expand Down Expand Up @@ -53,7 +58,7 @@ endif
#### Configuration for this extension
EXTENSION_FLAGS=-DDUCKDB_EXTENSION_CONFIGS='${EXT_CONFIG}'

BUILD_FLAGS=-DEXTENSION_STATIC_BUILD=1 $(EXTENSION_FLAGS) ${EXT_FLAGS} $(OSX_BUILD_FLAG) $(RUST_FLAGS) $(TOOLCHAIN_FLAGS) -DDUCKDB_EXPLICIT_PLATFORM='${DUCKDB_PLATFORM}' -DCUSTOM_LINKER=${CUSTOM_LINKER}
BUILD_FLAGS=-DEXTENSION_STATIC_BUILD=1 $(EXTENSION_FLAGS) ${EXT_FLAGS} $(CORE_EXTENSION_VAR) $(OSX_BUILD_FLAG) $(RUST_FLAGS) $(TOOLCHAIN_FLAGS) -DDUCKDB_EXPLICIT_PLATFORM='${DUCKDB_PLATFORM}' -DCUSTOM_LINKER=${CUSTOM_LINKER}

debug:
mkdir -p build/debug
Expand Down

0 comments on commit 76cf537

Please sign in to comment.