blob: 22c07d6e056f27804bcf4a1d3d2ed4f24959068f (
plain)
1
2
3
4
5
6
7
8
|
#!/usr/bin/env bash
set -exuo pipefail
# Rename arrow.dll to lib_arrow.dll to avoid conflicts with the arrow-cpp arrow.dll
sed -i -e 's/void R_init_arrow/__declspec(dllexport) void R_init_lib_arrow/g' r/src/arrowExports.cpp
sed -i -e 's/useDynLib(arrow/useDynLib(lib_arrow/g' r/NAMESPACE
|