mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
Add resource and library paths for SerenityOS
This commit is contained in:
parent
e1ee492cc8
commit
ca41fe5a82
@ -818,6 +818,7 @@ static cc_string font_candidates[] = {
|
||||
String_FromConst("Cantarell"),
|
||||
String_FromConst("DejaVu Sans Book"),
|
||||
String_FromConst("Century Schoolbook L Roman"), /* commonly available on linux */
|
||||
String_FromConst("Liberation Serif"), /* for SerenityOS */
|
||||
String_FromConst("Slate For OnePlus"), /* Android 10, some devices */
|
||||
String_FromConst("Roboto"), /* Android (broken on some Android 10 devices) */
|
||||
String_FromConst("Geneva"), /* for ancient macOS versions */
|
||||
|
@ -254,6 +254,9 @@ static const cc_string curlAlt = String_FromConst("/usr/pkg/lib/libcurl.so");
|
||||
#elif defined CC_BUILD_BSD
|
||||
static const cc_string curlLib = String_FromConst("libcurl.so");
|
||||
static const cc_string curlAlt = String_FromConst("libcurl.so");
|
||||
#elif defined CC_BUILD_SERENITY
|
||||
static const cc_string curlLib = String_FromConst("/usr/local/lib/libcurl.so");
|
||||
static const cc_string curlAlt = String_FromConst("/usr/local/lib/libcurl.so");
|
||||
#else
|
||||
static const cc_string curlLib = String_FromConst("libcurl.so.4");
|
||||
static const cc_string curlAlt = String_FromConst("libcurl.so.3");
|
||||
|
@ -459,6 +459,10 @@ void Platform_LoadSysFonts(void) {
|
||||
String_FromConst("/System/Library/Fonts"),
|
||||
String_FromConst("/Library/Fonts")
|
||||
};
|
||||
#elif defined CC_BUILD_SERENITY
|
||||
static const cc_string dirs[] = {
|
||||
String_FromConst("/res/fonts")
|
||||
};
|
||||
#else
|
||||
static const cc_string dirs[] = {
|
||||
String_FromConst("/usr/share/fonts"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user