slackware-current/patches/source/zstd/zstd.dont.link.pzstd.to.static.libzstd.a.diff
Patrick J Volkerding 3ec3cf58c9 Wed Apr 5 18:31:03 UTC 2023
patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz:  Upgraded.
  This is a bugfix release. The primary focus is to correct a rare corruption
  bug in high compression mode. While the probability might be very small,
  corruption issues are nonetheless very serious, so an update to this version
  is highly recommended, especially if you employ high compression modes
  (levels 16+).
2023-04-06 13:39:05 +02:00

13 lines
514 B
Diff

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