Skip to content

Commit

Permalink
Run check before generating the config file (#82435)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Feb 23, 2023
1 parent 18e20d8 commit 8085453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/corehost/hostmisc/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ include(CheckStructHasMember)
include(CheckSymbolExists)

check_struct_has_member("struct dirent" d_type dirent.h HAVE_DIRENT_D_TYPE)
check_symbol_exists(getauxval sys/auxv.h HAVE_GETAUXVAL)

configure_file(${CMAKE_CURRENT_LIST_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
check_symbol_exists(getauxval sys/auxv.h HAVE_GETAUXVAL)

0 comments on commit 8085453

Please sign in to comment.