From b34092c5171b204ec5554261d66da9c8f1d64072 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 11 Aug 2022 22:08:10 +0100 Subject: [PATCH] Add -pthread to lua testing Required to fix linker errors in li_std_auto_ptr and cpp11_std_unique_ptr test cases --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 242124205..b3b1a8e48 100644 --- a/configure.ac +++ b/configure.ac @@ -2430,6 +2430,7 @@ if test "$LUABIN"; then if test "$LUA_VERSION" = "5.0"; then LUALINK="$LUALINK -llualib" fi + LUALINK="$LUALINK -pthread" LIBS=$lua_save_LIBS # restore LIBS fi