Skip to content

Commit c06ea0d

Browse files
committed
Fix linker flags quoting for macOS static builds
1 parent 396d37e commit c06ea0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
"-DCMAKE_EXE_LINKER_FLAGS=-static"
171171
]
172172
++ pkgsForHost.lib.optionals (isStatic && pkgsForHost.stdenv.isDarwin) [
173-
"-DCMAKE_EXE_LINKER_FLAGS=-framework CoreVideo;-framework VideoToolbox"
173+
''-DCMAKE_EXE_LINKER_FLAGS="-framework CoreVideo;-framework VideoToolbox"''
174174
]
175175
++ pkgsForHost.lib.optionals (pkgsForHost.stdenv.isLinux && !isStatic && !isWindows) [
176176
"-DENABLE_GIO=ON"

0 commit comments

Comments
 (0)