mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
windows: do not link gdi32/shell32 to console applications
* read os.args from argv when we have console * dynamically load CommandLineToArgvW when we are GUI app * link gdi32/shell32 in glfw module
This commit is contained in:
committed by
Alexander Medvednikov
parent
55dbb8b81c
commit
3f0f8bac49
@@ -21,7 +21,7 @@ import gl
|
||||
#flag freebsd -I/usr/local/include
|
||||
#flag freebsd -Wl,-L/usr/local/lib,-lglfw
|
||||
#flag linux -lglfw
|
||||
#flag windows -lglfw3
|
||||
#flag windows -lgdi32 -lshell32 -lglfw3
|
||||
#include <GLFW/glfw3.h>
|
||||
// #flag darwin -framework Carbon
|
||||
// #flag darwin -framework Cocoa
|
||||
|
||||
Reference in New Issue
Block a user