Browse Source

* link with .so.1 files, the .so files are for development only and
not available in runtime installs.

peter 25 years ago
parent
commit
fa555587b3

+ 2 - 2
packages/opengl/build/gl_linux.tpl

@@ -129,12 +129,12 @@ end;
 
 function InitGL: Boolean;
 begin
-  Result := InitGLFromLibrary('libGL.so') or InitGLFromLibrary('libMesaGL.so');
+  Result := InitGLFromLibrary('libGL.so.1') or InitGLFromLibrary('libMesaGL.so.1');
 end;
 
 function InitGLU: Boolean;
 begin
-  Result := InitGLUFromLibrary('libGLU.so') or InitGLUFromLibrary('libMesaGLU.so');
+  Result := InitGLUFromLibrary('libGLU.so.1') or InitGLUFromLibrary('libMesaGLU.so.1');
 end;
 
 

+ 1 - 1
packages/opengl/build/glut_linux.tpl

@@ -250,7 +250,7 @@ end;
 
 function InitGLUT: Boolean;
 begin
-  Result := InitGLUTFromLibrary('libglut.so');
+  Result := InitGLUTFromLibrary('libglut.so.1');
 end;
 
 

+ 5 - 4
packages/opengl/linux/gl.pp

@@ -2122,12 +2122,12 @@ end;
 
 function InitGL: Boolean;
 begin
-  Result := InitGLFromLibrary('libGL.so') or InitGLFromLibrary('libMesaGL.so');
+  Result := InitGLFromLibrary('libGL.so.1') or InitGLFromLibrary('libMesaGL.so.1');
 end;
 
 function InitGLU: Boolean;
 begin
-  Result := InitGLUFromLibrary('libGLU.so') or InitGLUFromLibrary('libMesaGLU.so');
+  Result := InitGLUFromLibrary('libGLU.so.1') or InitGLUFromLibrary('libMesaGLU.so.1');
 end;
 
 
@@ -2141,7 +2141,8 @@ end.
 
 {
   $Log$
-  Revision 1.2  1999-12-23 19:41:28  peter
-    * use new x11 package
+  Revision 1.3  2000-01-26 21:21:49  peter
+    * link with .so.1 files, the .so files are for development only and
+      not available in runtime installs.
 
 }

+ 4 - 3
packages/opengl/linux/glut.pp

@@ -384,7 +384,7 @@ end;
 
 function InitGLUT: Boolean;
 begin
-  Result := InitGLUTFromLibrary('libglut.so');
+  Result := InitGLUTFromLibrary('libglut.so.1');
 end;
 
 
@@ -396,7 +396,8 @@ end.
 
 {
   $Log$
-  Revision 1.2  1999-12-23 19:41:28  peter
-    * use new x11 package
+  Revision 1.3  2000-01-26 21:21:50  peter
+    * link with .so.1 files, the .so files are for development only and
+      not available in runtime installs.
 
 }