File tree Expand file tree Collapse file tree
spannerlib/wrappers/spannerlib-node Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 'files' : [ '<(module_root_dir)/../../shared/libspanner.so' ]
5151 }
5252 ]
53+ }],
54+ ['OS=="win"' , {
55+ 'libraries' : [
56+ '<(module_root_dir)/../../shared/libspanner.dll'
57+ ],
58+ 'copies' : [
59+ {
60+ 'destination' : '<(PRODUCT_DIR)' ,
61+ 'files' : [ '<(module_root_dir)/../../shared/libspanner.dll' ]
62+ }
63+ ]
5364 }]
5465 ]
5566 }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ elif [ "$OS" == "Linux" ]; then
4848 go build -C " $SHARED_LIB_DIR " -o libspanner.so -buildmode=c-shared shared_lib.go
4949elif [ " $OS " == " Windows" ]; then
5050 echo " Building for Windows..."
51- go build -C " $SHARED_LIB_DIR " -o spannerlib .dll -buildmode=c-shared shared_lib.go
51+ go build -C " $SHARED_LIB_DIR " -o libspanner .dll -buildmode=c-shared shared_lib.go
5252else
5353 echo " Unsupported operating system: $OS "
5454 exit 1
You can’t perform that action at this time.
0 commit comments