qt515.qt3d: fix build on aarch64-darwin
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
{ qtModule, qtbase, qtdeclarative }:
|
||||
{ lib, stdenv, qtModule, qtbase, qtdeclarative }:
|
||||
|
||||
qtModule {
|
||||
pname = "qt3d";
|
||||
qtInputs = [ qtbase qtdeclarative ];
|
||||
outputs = [ "out" "dev" "bin" ];
|
||||
# error: use of undeclared identifier 'stat64'
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dstat64=stat";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user