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