summaryrefslogtreecommitdiffstats
path: root/patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff')
-rw-r--r--patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff b/patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
new file mode 100644
index 000000000..6ecc373be
--- /dev/null
+++ b/patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
@@ -0,0 +1,13 @@
+--- ./contrib/pzstd/Makefile.orig 2018-12-29 22:36:55.196425576 -0600
++++ ./contrib/pzstd/Makefile 2018-12-29 22:37:54.123426836 -0600
+@@ -171,8 +171,8 @@
+ $(TESTPROG) ./test/RoundTripTest$(EXT) $(TESTFLAGS)
+
+ # Build the main binary
+-pzstd$(EXT): main.o $(PROGDIR)/util.o Options.o Pzstd.o SkippableFrame.o $(ZSTDDIR)/libzstd.a
+- $(LD_COMMAND)
++pzstd$(EXT): main.o $(PROGDIR)/util.o Options.o Pzstd.o SkippableFrame.o
++ $(LD_COMMAND) -L ../../lib -lzstd
+
+ # Target that depends on all the tests
+ .PHONY: tests