use LIBS instead of AM_LDFLAGS, otherwise apparently some systems won't link
authorHarald Welte <laforge@gnumonks.org>
Tue, 5 Feb 2008 02:06:33 +0000 (02:06 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 5 Feb 2008 02:06:33 +0000 (02:06 +0000)
libusb correctly (Petr Stetiar)

git-svn-id: https://svn.gnumonks.org/trunk/librfid@2071 e0336214-984f-0b4b-a45f-81c69e1f0ede

Makefile.flags.am

index c6c4844..8a1d383 100644 (file)
@@ -8,7 +8,7 @@ AM_LDFLAGS = -mno-cygwin
 AM_CFLAGS += -mno-cygwin
 else
 if HAVE_LIBUSB
-AM_LDFLAGS = -lusb
+LIBS += -lusb
 AM_CFLAGS += -DHAVE_LIBUSB
 endif
 endif