use LIBS instead of AM_LDFLAGS, otherwise apparently some systems won't link

libusb correctly (Petr Stetiar)


git-svn-id: https://svn.gnumonks.org/trunk/librfid@2071 e0336214-984f-0b4b-a45f-81c69e1f0ede
This commit is contained in:
laforge 2008-02-05 02:06:33 +00:00
parent 58ea86f325
commit 9a7ba1f0d8
1 changed files with 1 additions and 1 deletions

View 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