mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Future proof libcurl and libopenal loading on OpenBSD.
ld.so does the right thing even without hardcoded versions. Also mention curl and openal as dependencies.
This commit is contained in:
parent
d89d3045c0
commit
4af5b3a860
3 changed files with 4 additions and 4 deletions
|
@ -82,7 +82,7 @@ Although the regular linux compiliation flags will work fine, to take full advan
|
|||
|
||||
#### OpenBSD
|
||||
|
||||
Install libexecinfo package if needed.
|
||||
Install libexecinfo, curl and openal package if needed.
|
||||
|
||||
```cc *.c -o ClassiCube -I /usr/X11R6/include -I /usr/local/include -L /usr/X11R6/lib -L /usr/local/lib -lm -lpthread -lX11 -lXi -lGL -lexecinfo```
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ static const String alLib = String_FromConst("openal32.dll");
|
|||
#elif defined CC_BUILD_OSX
|
||||
static const String alLib = String_FromConst("/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL");
|
||||
#elif defined CC_BUILD_OPENBSD
|
||||
static const String alLib = String_FromConst("libopenal.so.3.0");
|
||||
static const String alLib = String_FromConst("libopenal.so");
|
||||
#else
|
||||
static const String alLib = String_FromConst("libopenal.so.1");
|
||||
#endif
|
||||
|
|
|
@ -487,8 +487,8 @@ static const String curlAlt = String_FromConst("curl.dll");
|
|||
static const String curlLib = String_FromConst("/usr/lib/libcurl.4.dylib");
|
||||
static const String curlAlt = String_FromConst("/usr/lib/libcurl.dylib");
|
||||
#elif defined CC_BUILD_OPENBSD
|
||||
static const String curlLib = String_FromConst("libcurl.so.25.17");
|
||||
static const String curlAlt = String_FromConst("libcurl.so.25.16");
|
||||
static const String curlLib = String_FromConst("libcurl.so");
|
||||
static const String curlAlt = String_FromConst("libcurl.so");
|
||||
#else
|
||||
static const String curlLib = String_FromConst("libcurl.so.4");
|
||||
static const String curlAlt = String_FromConst("libcurl.so.3");
|
||||
|
|
Loading…
Reference in a new issue