duktape: fix for structuredAttrs

Without this change the build succees, but packages that use the library
can run into linking issues (e.g. qt6declarative).
This commit is contained in:
Stefan Frijters
2025-12-24 19:45:14 +01:00
parent f29ec2d55e
commit c57a7ee43f
+1 -1
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: {
};
# https://github.com/svaarala/duktape/issues/2464
LDFLAGS = [ "-lm" ];
env.LDFLAGS = "-lm";
nativeBuildInputs = [
validatePkgConfig