Fix make target arguments
This commit is contained in:
+6
-2
@@ -61,8 +61,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-icu-config=${lib.getExe' icu.dev "icu-config"}"
|
||||
];
|
||||
|
||||
makeTarget = if static then "lib" else "so";
|
||||
makeFlags = (coreInitExt.passthru.makeFlags or [ ]) ++ map (opt: "OPTIONS+=${lib.escapeShellArg opt}") featureFlags;
|
||||
makeFlags =
|
||||
(coreInitExt.passthru.makeFlags or [ ])
|
||||
++ map (opt: "OPTIONS+=${lib.escapeShellArg opt}") featureFlags
|
||||
++ [
|
||||
(if static then "lib" else "so")
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_LINK = lib.optionalString features.ENABLE_FTS5 "-lm";
|
||||
env.NIX_LDFLAGS = lib.concatStringsSep " " (coreInitExt.passthru.extraLDFLAGS or [ ]);
|
||||
|
||||
Reference in New Issue
Block a user