void-packages/srcpkgs/micronucleus/patches/libs.patch

15 lines
612 B
Diff
Raw Normal View History

2021-06-27 11:04:54 +02:00
--- a/commandline/Makefile
+++ b/commandline/Makefile
@@ -8,9 +8,9 @@ CC=gcc
ifeq ($(shell uname), Linux)
# If you get the error "usb.h: No such file or directory" you must run "sudo apt-get install libusb-dev"
USBFLAGS=$(shell libusb-config --cflags)
- USBLIBS= -static $(shell libusb-config --libs)
+# USBLIBS= -static $(shell libusb-config --libs)
# If you get an error about missing USB libraries, please use the line below instead of the one above
-# USBLIBS= $(shell libusb-config --libs)
+ USBLIBS= $(shell libusb-config --libs)
EXE_SUFFIX =
OSFLAG = -D LINUX
else ifeq ($(shell uname), Darwin)