]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Use short decompress option name for gzip compatibility. #1347
authorNathan Moinvaziri <nathan@nathanm.com>
Wed, 28 Sep 2022 16:38:06 +0000 (09:38 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 9 Oct 2022 09:46:38 +0000 (11:46 +0200)
Long option names in BusyBoxy is an optional feature, so use short option
names by default.

test/cmake/compress-and-verify.cmake

index 856f2cb3533c9c8f6221c69292b43a0f47f2a839..e79c50c4f04f51b32ae6ba79f274c7cc682816da 100644 (file)
@@ -173,7 +173,7 @@ if(GZIP_VERIFY AND NOT "${COMPRESS_ARGS}" MATCHES "-T")
         endif()
 
         # Check gzip can decompress our compressed output
-        set(GZ_DECOMPRESS_COMMAND ${GZIP} --decompress)
+        set(GZ_DECOMPRESS_COMMAND ${GZIP} -d)
 
         message(STATUS "Gzip decompress ${GZ_DECOMPRESS_COMMAND}")
         message(STATUS "  Input: ${OUTPUT_BASE}.gz")