We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc31c29 commit 3ee4166Copy full SHA for 3ee4166
patches/build_static.patch
@@ -1,5 +1,5 @@
1
diff --git a/Makefile b/Makefile
2
-index 203cb04..4482eb8 100644
+index ddd06c9..bef69c4 100644
3
--- a/Makefile
4
+++ b/Makefile
5
@@ -3,7 +3,7 @@ RAMDUMP := qdl-ramdump
@@ -8,6 +8,6 @@ index 203cb04..4482eb8 100644
8
CFLAGS += -O2 -Wall -g `pkg-config --cflags libxml-2.0 libusb-1.0`
9
-LDFLAGS += `pkg-config --libs libxml-2.0 libusb-1.0`
10
+LDFLAGS += `pkg-config --libs libxml-2.0 libusb-1.0 --static`
11
- prefix := /usr/local
12
-
13
- QDL_SRCS := firehose.c io.c qdl.c sahara.c util.c patch.c program.c read.c sim.c ufs.c usb.c ux.c oscompat.c
+ ifeq ($(OS),Windows_NT)
+ LDFLAGS += -lws2_32
+ endif
0 commit comments