mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 21:17:18 +01:00
* link with .so.1 files, the .so files are for development only and
not available in runtime installs.
This commit is contained in:
parent
16bcf1dd2c
commit
fa555587b3
@ -129,12 +129,12 @@ end;
|
|||||||
|
|
||||||
function InitGL: Boolean;
|
function InitGL: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := InitGLFromLibrary('libGL.so') or InitGLFromLibrary('libMesaGL.so');
|
Result := InitGLFromLibrary('libGL.so.1') or InitGLFromLibrary('libMesaGL.so.1');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function InitGLU: Boolean;
|
function InitGLU: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := InitGLUFromLibrary('libGLU.so') or InitGLUFromLibrary('libMesaGLU.so');
|
Result := InitGLUFromLibrary('libGLU.so.1') or InitGLUFromLibrary('libMesaGLU.so.1');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -250,7 +250,7 @@ end;
|
|||||||
|
|
||||||
function InitGLUT: Boolean;
|
function InitGLUT: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := InitGLUTFromLibrary('libglut.so');
|
Result := InitGLUTFromLibrary('libglut.so.1');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2122,12 +2122,12 @@ end;
|
|||||||
|
|
||||||
function InitGL: Boolean;
|
function InitGL: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := InitGLFromLibrary('libGL.so') or InitGLFromLibrary('libMesaGL.so');
|
Result := InitGLFromLibrary('libGL.so.1') or InitGLFromLibrary('libMesaGL.so.1');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function InitGLU: Boolean;
|
function InitGLU: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := InitGLUFromLibrary('libGLU.so') or InitGLUFromLibrary('libMesaGLU.so');
|
Result := InitGLUFromLibrary('libGLU.so.1') or InitGLUFromLibrary('libMesaGLU.so.1');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -2141,7 +2141,8 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.2 1999-12-23 19:41:28 peter
|
Revision 1.3 2000-01-26 21:21:49 peter
|
||||||
* use new x11 package
|
* link with .so.1 files, the .so files are for development only and
|
||||||
|
not available in runtime installs.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -384,7 +384,7 @@ end;
|
|||||||
|
|
||||||
function InitGLUT: Boolean;
|
function InitGLUT: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := InitGLUTFromLibrary('libglut.so');
|
Result := InitGLUTFromLibrary('libglut.so.1');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -396,7 +396,8 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.2 1999-12-23 19:41:28 peter
|
Revision 1.3 2000-01-26 21:21:50 peter
|
||||||
* use new x11 package
|
* link with .so.1 files, the .so files are for development only and
|
||||||
|
not available in runtime installs.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user