Skip to content

Commit 8907ce7

Browse files
committed
set fPIC for the shared libs otlp grpc test
1 parent dcb931a commit 8907ce7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/do_ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ elif [[ "$1" == "cmake.exporter.otprotocol.shared_libs.with_static_grpc.test" ]]
400400
-DWITH_OTLP_HTTP=ON \
401401
-DWITH_OTLP_FILE=ON \
402402
-DBUILD_SHARED_LIBS=ON \
403+
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
403404
"${SRC_DIR}"
404405
grpc_cpp_plugin=`which grpc_cpp_plugin`
405406
proto_make_file="CMakeFiles/opentelemetry_proto.dir/build.make"

0 commit comments

Comments
 (0)