Skip to content

Commit 3ee4166

Browse files
patch: update the patch to reflrect latest commit changes (#2)
1 parent dc31c29 commit 3ee4166

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/build_static.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/Makefile b/Makefile
2-
index 203cb04..4482eb8 100644
2+
index ddd06c9..bef69c4 100644
33
--- a/Makefile
44
+++ b/Makefile
55
@@ -3,7 +3,7 @@ RAMDUMP := qdl-ramdump
@@ -8,6 +8,6 @@ index 203cb04..4482eb8 100644
88
CFLAGS += -O2 -Wall -g `pkg-config --cflags libxml-2.0 libusb-1.0`
99
-LDFLAGS += `pkg-config --libs libxml-2.0 libusb-1.0`
1010
+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
11+
ifeq ($(OS),Windows_NT)
12+
LDFLAGS += -lws2_32
13+
endif

0 commit comments

Comments
 (0)