From 081bf9ce200bc8b59a8108c57d326bcaab2c4000 Mon Sep 17 00:00:00 2001 From: Sam Ansmink Date: Fri, 24 Jan 2025 13:37:13 +0100 Subject: [PATCH] fix update headers to download correct headers --- makefiles/c_api_extensions/c_cpp.Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/makefiles/c_api_extensions/c_cpp.Makefile b/makefiles/c_api_extensions/c_cpp.Makefile index e90e04a..86ded64 100644 --- a/makefiles/c_api_extensions/c_cpp.Makefile +++ b/makefiles/c_api_extensions/c_cpp.Makefile @@ -134,11 +134,9 @@ build_extension_library_release: check_configure ############################################# ### Misc ############################################# -# TODO: switch this to use the $(TARGET_DUCKDB_VERSION) after v1.2.0 is released - BASE_HEADER_URL= ifneq ($(TARGET_DUCKDB_VERSION),) - BASE_HEADER_URL=https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/$(TARGET_DUCKDB_VERSION)/src/include + BASE_HEADER_URL=https://raw.githubusercontent.com/duckdb/duckdb/$(TARGET_DUCKDB_VERSION)/src/include else BASE_HEADER_URL=https://raw.githubusercontent.com/duckdb/duckdb/refs/heads/main/src/include endif