From 839ee761878b3e242f4fe4b4a95dfbf161b6b82a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 9 Oct 2011 22:02:51 +0200 Subject: [PATCH] openocd: libusb patch: append rather than override LDFLAGS Signed-off-by: Peter Korsgaard --- ...0001-fix-cross-compilation-host-libsub-was-used-before.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch b/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch index 99ff04eb7c..caf1a8b6fc 100644 --- a/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch +++ b/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch @@ -23,7 +23,7 @@ index dfa1e8f..cfe2218 100644 + dnl check for libusb + PKG_CHECK_MODULES(LIBUSB, libusb >= 0.1.11) + CFLAGS="$CFLAGS $LIBUSB_CFLAGS" -+ LDFLAGS="$LFFLAGS $LIBUSB_LDFLAGS" ++ LDFLAGS="$LDFLAGS $LIBUSB_LDFLAGS" + LIBS="$LIBS $LIBUSB_LIBS" build_usb=yes fi -- 2.30.2