From ece28927017614a20b80fdc203584ca919f81878 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 22 Apr 2013 15:10:56 +0100 Subject: build: fix libftd2xx regression Fix build when targeting closed src ftd2xx drivers. configure is unable to find the dynamic linking loader lib (dl) as it is included before ftd2xx library. Change-Id: Ibe7308b66ed846288a31f7a27ff549b6f39baeec Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1355 Tested-by: jenkins Reviewed-by: Luca Bruno Reviewed-by: Freddie Chopin --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 75bbecea..78b70d82 100644 --- a/configure.ac +++ b/configure.ac @@ -961,7 +961,7 @@ if test $build_ft2232_ftd2xx = yes -o $build_presto_ftd2xx = yes -o $build_usb_b fi fi LDFLAGS="${LDFLAGS} ${FTD2XX_LDFLAGS}" - LIBS="${LIBS} ${FTD2XX_LIB}" + LIBS="${FTD2XX_LIB} ${LIBS}" AC_MSG_RESULT([${FTD2XX_LDFLAGS} ${FTD2XX_LIB}]) else AC_CHECK_HEADER([ftd2xx.h],[],[ -- cgit v1.2.3-18-g5258