Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Check for libGL instead of libglut
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Mar 24, 2022
1 parent 8d013a3 commit 48a5402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ afterEvaluate {

if (isLinux) {
project.logger.info("LD folders: ${LDLibraries.ldFolders}")
for (lib in listOf("libglut.so.3", "libopenal.so.1")) {
for (lib in listOf("libGL.so.1", "libopenal.so.1")) {
if (!LDLibraries.hasLibrary(lib)) {
System.err.println("Can't find $lib. Please: sudo apt-get -y install freeglut3 libopenal1")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class KorgeGradleApply(val project: Project) {

if (isLinux) {
project.logger.info("LD folders: ${LDLibraries.ldFolders}")
for (lib in listOf("libglut.so.3", "libopenal.so.1")) {
for (lib in listOf("libGL.so.1", "libopenal.so.1")) {
if (!LDLibraries.hasLibrary(lib)) {
System.err.println("Can't find $lib. Please: sudo apt-get -y install freeglut3 libopenal1")
}
Expand Down

0 comments on commit 48a5402

Please sign in to comment.