Skip to content

Commit db21508

Browse files
Weiran Lininikep
authored andcommitted
make rocksdb build compatible with make 4.3 in centos 9
Upstream commit ID: facebook/mysql-5.6@c3f1703 PS-8951: Merge percona-202305 (https://jira.percona.com/browse/PS-8951) Summary: Same as D46001904, 8.0 branch also needs to be compatible with make 4.3. Differential Revision: D46003596 fbshipit-source-id: 0e4c40db437fda1928729ead1d4313d0fe2bd61c
1 parent b8053f4 commit db21508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/rocksdb/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ELSE()
103103
# get a list of rocksdb library source files
104104
# run with env -i to avoid passing variables
105105
EXECUTE_PROCESS(
106-
COMMAND env -i CXX=${CMAKE_CXX_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR}/get_rocksdb_files.sh ${ROCKSDB_FOLLY}
106+
COMMAND env -i CXX=${CMAKE_CXX_COMPILER} PATH="/sbin:/usr/sbin:/bin:/usr/bin" ${CMAKE_CURRENT_SOURCE_DIR}/get_rocksdb_files.sh ${ROCKSDB_FOLLY}
107107
OUTPUT_VARIABLE SCRIPT_OUTPUT
108108
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
109109
)

0 commit comments

Comments
 (0)