mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
darwin flags
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@639 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
5
pl/ostype/Darwin.pl
Normal file
5
pl/ostype/Darwin.pl
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# $Id$
|
||||||
|
$shared = "-dynamiclib";
|
||||||
|
use_backend("darwin");
|
||||||
|
|
||||||
|
1;
|
||||||
@@ -15,6 +15,10 @@ if($backend eq "x11"){
|
|||||||
add_libs("-lgdi32");
|
add_libs("-lgdi32");
|
||||||
|
|
||||||
$gl_libs = "-lopengl32 -lglu32";
|
$gl_libs = "-lopengl32 -lglu32";
|
||||||
|
}elsif($backend eq "darwin"){
|
||||||
|
add_cflags("-DUSE_DARWIN");
|
||||||
|
new_object("src/backend/mac/*.c");
|
||||||
|
add_ldflags("-framework Carbon");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(param_get("stb-image")){
|
if(param_get("stb-image")){
|
||||||
|
|||||||
Reference in New Issue
Block a user