summaryrefslogtreecommitdiff
path: root/source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff')
-rw-r--r--source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff b/source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
new file mode 100644
index 00000000..577ba7b0
--- /dev/null
+++ b/source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
@@ -0,0 +1,13 @@
+--- ./contrib/pzstd/Makefile.orig 2017-12-21 03:16:40.000000000 -0600
++++ ./contrib/pzstd/Makefile 2018-02-12 16:25:19.626150873 -0600
+@@ -171,8 +171,8 @@
+ $(TESTPROG) ./test/RoundTripTest$(EXT) $(TESTFLAGS)
+
+ # Build the main binary
+-pzstd$(EXT): main.o Options.o Pzstd.o SkippableFrame.o $(ZSTDDIR)/libzstd.a
+- $(LD_COMMAND)
++pzstd$(EXT): main.o Options.o Pzstd.o SkippableFrame.o
++ $(LD_COMMAND) -L ../../lib -lzstd
+
+ # Target that depends on all the tests
+ .PHONY: tests