This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new af2b7c694b build: fix embedding of driver version into Go drivers
(#5021)
af2b7c694b is described below
commit af2b7c694b003225cb6600f498436e0d31f57538
Author: David Li <[email protected]>
AuthorDate: Wed Nov 11 15:47:08 2026 -0800
build: fix embedding of driver version into Go drivers (#5021)
---
c/cmake_modules/GoUtils.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/cmake_modules/GoUtils.cmake b/c/cmake_modules/GoUtils.cmake
index e1354978e1..6fba02fa0b 100644
--- a/c/cmake_modules/GoUtils.cmake
+++ b/c/cmake_modules/GoUtils.cmake
@@ -209,7 +209,7 @@ function(add_go_lib GO_MOD_DIR GO_LIBNAME)
endif()
set(GO_LDFLAGS
-
"-ldflags;\"${ARG_SHARED_LINK_FLAGS};-X;github.com/apache/arrow-adbc/go/adbc/driver/internal/driverbase.infoDriverVersion=v${ADBC_VERSION};-a;${EXTLDFLAGS}\""
+
"-ldflags;\"${ARG_SHARED_LINK_FLAGS};-X;github.com/apache/arrow-adbc/go/driver/internal/driverbase.infoDriverVersion=v${ADBC_VERSION};-a;${EXTLDFLAGS}\""
)
set(LIBOUT_SHARED "${CMAKE_CURRENT_BINARY_DIR}/${LIB_NAME_SHARED}")