Skip to content

Commit

Permalink
test cgo: ensure helper script works (#3236)
Browse files Browse the repository at this point in the history
Small QOL change to ensure that generate_imported_dylib.sh runs would
always success even when an older version of the symlink exists locally.
  • Loading branch information
sluongng authored Jul 14, 2022
1 parent 2113d18 commit 9438feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/cgo/generate_imported_dylib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ case "$(uname -s)" in
# symlink (https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html).
# Let's cover this non-standard case as well.
cc -shared -Wl,-install_name,@rpath/libversioned.dylib.2 -o libversioned.dylib.2 imported.c
ln -s libversioned.dylib.2 libversioned.dylib
ln -fs libversioned.dylib.2 libversioned.dylib
;;
*)
echo "Unsupported OS: $(uname -s)" >&2
Expand Down

0 comments on commit 9438feb

Please sign in to comment.