mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 00:45:21 -04: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:
+1
-1
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user