mirror of
https://github.com/CTCaer/hidapi.git
synced 2024-11-30 05:30:32 +00:00
linux/Makefile: Add $(LDFLAGS)
to the linker calls
Some cross compiling frame works like OpenEmbedded [1] pass this variable along. [1] http://www.openembedded.org/
This commit is contained in:
parent
ab3ba2e2a6
commit
359138c8b6
@ -18,7 +18,7 @@ LIBS=`pkg-config libusb-1.0 libudev --libs`
|
||||
|
||||
|
||||
hidtest: $(OBJS)
|
||||
$(CXX) -Wall -g $^ $(LIBS) -o hidtest
|
||||
$(CXX) -Wall -g $(LDFLAGS) $^ $(LIBS) -o hidtest
|
||||
|
||||
$(COBJS): %.o: %.c
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
Loading…
Reference in New Issue
Block a user