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:
parent
58ea86f325
commit
9a7ba1f0d8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue