]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed zlibwrapper build script 1859/head
authorYann Collet <cyan@fb.com>
Thu, 31 Oct 2019 17:47:06 +0000 (10:47 -0700)
committerYann Collet <cyan@fb.com>
Thu, 31 Oct 2019 17:47:06 +0000 (10:47 -0700)
zlibWrapper/Makefile

index f63291c902f30c9551a80828bafdb7eb0ca08e89..6addb743cbe6566366b04212773376b800abfdcc 100644 (file)
@@ -103,6 +103,7 @@ zstd_zlibwrapper.o: $(ZLIBWRAPPER_PATH)/zstd_zlibwrapper.c $(ZLIBWRAPPER_PATH)/z
 
 zstdTurnedOn_zlibwrapper.o: CPPFLAGS += -DZWRAP_USE_ZSTD=1
 zstdTurnedOn_zlibwrapper.o: $(ZLIBWRAPPER_PATH)/zstd_zlibwrapper.c $(ZLIBWRAPPER_PATH)/zstd_zlibwrapper.h
+       $(CC) $(CPPFLAGS) $(CFLAGS) $< -c -o $@
 
 $(ZSTDLIBDIR)/libzstd.a:
        $(MAKE) -C $(ZSTDLIBDIR) libzstd.a