This commit is contained in:
Alex 2025-01-31 05:22:03 +00:00 committed by GitHub
commit af758a6f25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View File

@ -24,7 +24,7 @@
#include "tier1/utllinkedlist.h"
#include "togl/rendermechanism.h"
#include "appframework/ilaunchermgr.h" // gets pulled in from glmgr.h
#include "appframework/iappsystemgroup.h"
#include "appframework/IAppSystemGroup.h"
#include "inputsystem/ButtonCode.h"

View File

@ -60,7 +60,7 @@ def build(bld):
bld.shlib(
source = source,
target = PROJECT_NAME,
target = PROJECT_NAME.lower() if bld.env.DEST_OS == 'darwin' else PROJECT_NAME,
name = PROJECT_NAME,
features = 'c cxx',
includes = includes,

View File

@ -257,7 +257,12 @@ def define_platform(conf):
'NO_HOOK_MALLOC',
'_DLL_EXT=.dylib'
])
conf.env.append_unique('INCLUDES', [
'/opt/local/include'
])
conf.env.append_unique('LINKFLAGS', [
'-L/opt/local/lib'
])
elif conf.env.DEST_OS in ['freebsd', 'openbsd', 'netbsd', 'dragonflybsd']: # Tested only in freebsd
conf.env.append_unique('DEFINES', [
'POSIX=1', '_POSIX=1', 'PLATFORM_POSIX=1',