فهرست منبع

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

peter 26 سال پیش
والد
کامیت
fa555587b3
4فایلهای تغییر یافته به همراه12 افزوده شده و 10 حذف شده
  1. 2 2
      packages/opengl/build/gl_linux.tpl
  2. 1 1
      packages/opengl/build/glut_linux.tpl
  3. 5 4
      packages/opengl/linux/gl.pp
  4. 4 3
      packages/opengl/linux/glut.pp

+ 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.
 
 }