Skip to content

Commit 8a1ddda

Browse files
committed
Fix xdr.h path
1 parent e91455b commit 8a1ddda

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compiler-rt/cmake/base-config-ix.cmake

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ include(CompilerRTDarwinUtils)
1414
check_include_file(unwind.h HAVE_UNWIND_H)
1515

1616
# Used by sanitizer_common and tests.
17-
check_include_file(rpc/xdr.h HAVE_RPC_XDR_H)
17+
if (${CMAKE_SYSTEM_NAME} MATCHES AIX)
18+
check_include_file(tirpc/rpc/xdr.h HAVE_RPC_XDR_H)
19+
else()
20+
check_include_file(rpc/xdr.h HAVE_RPC_XDR_H)
21+
endif()
1822
if (NOT HAVE_RPC_XDR_H)
1923
set(HAVE_RPC_XDR_H 0)
2024
endif()

0 commit comments

Comments
 (0)