From 8c95f07509be002c6e513f7af69589e3d136bd86 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 13 Apr 2021 14:38:55 +0300 Subject: [PATCH] sokol: fix compilation of gg apps on macos --- vlib/sokol/c/declaration.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/sokol/c/declaration.c.v b/vlib/sokol/c/declaration.c.v index cb95fa3f49..d9f8bef683 100644 --- a/vlib/sokol/c/declaration.c.v +++ b/vlib/sokol/c/declaration.c.v @@ -12,7 +12,7 @@ pub const ( #flag freebsd -L/usr/local/lib -lX11 -lGL -lXcursor -lXi #flag windows -lgdi32 // METAL -$if darwin { +$if macos { #flag -DSOKOL_METAL #flag -framework Metal -framework Cocoa -framework MetalKit -framework QuartzCore }