summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-09 22:02:51 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-09 22:02:51 +0200
commit839ee761878b3e242f4fe4b4a95dfbf161b6b82a (patch)
treebbd53063c319b35b42841fe37e1a8ffb7900ab7b
parent3a7149347c6290e1ab7045dd4f70e06d9426b716 (diff)
openocd: libusb patch: append rather than override LDFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch2
1 files changed, 1 insertions, 1 deletions
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 99ff04eb7..caf1a8b6f 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