aboutsummaryrefslogtreecommitdiff
path: root/resources/bucts/patch
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-25 02:32:35 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-11-25 03:26:53 +0000
commit7ff25fd1932471a23827ef821be97fc4969910e1 (patch)
treeee1fb3803d66cdd4d07209b7b273a1f1252bd6aa /resources/bucts/patch
parent62d4eaaaf4b87629b37e6d16d4b4020499207d73 (diff)
downloadlibrebootfr-7ff25fd1932471a23827ef821be97fc4969910e1.tar.gz
librebootfr-7ff25fd1932471a23827ef821be97fc4969910e1.zip
libreboot_bin.tar.xz: Include utils as statically linked binaries
This means that the user does not have to install build dependency or build from source anymore.
Diffstat (limited to 'resources/bucts/patch')
-rw-r--r--resources/bucts/patch/staticlink.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/bucts/patch/staticlink.diff b/resources/bucts/patch/staticlink.diff
new file mode 100644
index 00000000..52da8cc8
--- /dev/null
+++ b/resources/bucts/patch/staticlink.diff
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 68541e6..b8579eb 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ endif
+ all: bucts
+
+ bucts: $(OBJ)
+- $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci
++ $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci -lz -static
+
+ %.o: %.c
+ $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $<