mirror of
https://github.com/CTCaer/hidapi.git
synced 2024-11-27 04:00:29 +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)
|
hidtest: $(OBJS)
|
||||||
$(CXX) -Wall -g $^ $(LIBS) -o hidtest
|
$(CXX) -Wall -g $(LDFLAGS) $^ $(LIBS) -o hidtest
|
||||||
|
|
||||||
$(COBJS): %.o: %.c
|
$(COBJS): %.o: %.c
|
||||||
$(CC) $(CFLAGS) $< -o $@
|
$(CC) $(CFLAGS) $< -o $@
|
||||||
|
Loading…
Reference in New Issue
Block a user