summaryrefslogblamecommitdiffstats
path: root/source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
blob: 577ba7b04d12e502e12647cd704aea437f94ca40 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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