preproc: FreeBSD also has LibGL.so

This commit is contained in:
Thomas Debesse 2017-08-30 13:12:54 +02:00
parent a3773852a4
commit 3e859fb81e

View file

@ -473,7 +473,7 @@ int mainRadiant( int argc, char* argv[] ) {
if ( libgl == NULL ) { if ( libgl == NULL ) {
#if defined ( _WIN32 ) #if defined ( _WIN32 )
libgl = "opengl32.dll"; libgl = "opengl32.dll";
#elif defined ( __linux__ ) #elif defined ( __linux__ ) || defined ( __FreeBSD__ )
libgl = "libGL.so.1"; libgl = "libGL.so.1";
#elif defined ( __APPLE__ ) #elif defined ( __APPLE__ )
libgl = "/opt/local/lib/libGL.dylib"; libgl = "/opt/local/lib/libGL.dylib";