minizip-ng: fix darwin build
fixes `error: ISO C++17 does not allow 'register' storage class specifier` Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -48,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-DMZ_LIBCOMP=OFF"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-register";
|
||||
|
||||
postInstall = ''
|
||||
# make lib findable as libminizip-ng even if compat is enabled
|
||||
for ext in so dylib a ; do
|
||||
|
||||
Reference in New Issue
Block a user