Use -ldl when testing whether -m32 and -m64 builds work
authorKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:56:22 +0000 (20:56 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Aug 2014 03:56:22 +0000 (20:56 -0700)
We only need -ldl, and not -lbluetooth now that libaltos uses dlopen
on the bluetooth library

Signed-off-by: Keith Packard <keithp@keithp.com>
configure.ac

index c2b8b55..38bab8e 100644 (file)
@@ -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([])],