summaryrefslogblamecommitdiffstats
path: root/source/l/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
blob: 6ecc373be5d0aa5082519987c7064682c9f286e0 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                           



                                                           
                                                                                              
                     
                                                                         



                                         
--- ./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