From: Keith Packard Date: Mon, 18 Aug 2014 03:56:22 +0000 (-0700) Subject: Use -ldl when testing whether -m32 and -m64 builds work X-Git-Tag: 1.4.9.3~10 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=80e20b241359452028298567c76b2f644da5ad23;hp=830f31fd6dc280e7a63ba689b7a48beff5c49072 Use -ldl when testing whether -m32 and -m64 builds work We only need -ldl, and not -lbluetooth now that libaltos uses dlopen on the bluetooth library Signed-off-by: Keith Packard --- diff --git a/configure.ac b/configure.ac index c2b8b55c..38bab8e1 100644 --- a/configure.ac +++ b/configure.ac @@ -459,7 +459,7 @@ xauto) xx86_64|xi*86) save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" - LIBS="-lbluetooth" + LIBS="-ldl" CFLAGS="-m64" AC_MSG_CHECKING([if ]$CC[ ]$CFLAGS[ can link programs]) AC_LINK_IFELSE([AC_LANG_PROGRAM([])],