A change needs to be made to Pth 1.4.1 ltconfig in order for it to
build correctly on SCO OpenServer when using the SCO UDK development
kit (which is a different development kit than the "regular" one
that comes with OpenServer).  

The change is to only set special_shlib_compile_flags if the regular
compiler is being used (which needs the flags), and not set it if
the UDK compiler is being used.  The diff (with some nulled out
debugging code) is:

--- ltconfig..orig      Sun May 28 07:08:13 2000
+++ ltconfig    Wed Oct  9 14:42:00 2002
@@ -727,7 +727,12 @@
   sco3.2v5*)
     pic_flag='-Kpic'
     link_static_flag='-dn'
-    special_shlib_compile_flags='-belf'
+    if `$compiler -V 2>&1 | egrep 'UX:cc' > /dev/null`; then
+       echo "this is really UDK compiler" > /dev/null
+    else
+       echo "this is not the UDK compiler" > /dev/null
+       special_shlib_compile_flags='-belf'
+    fi
     ;;
 
   solaris*)

Jonathan Schilling      SCO/Caldera     [EMAIL PROTECTED]
______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to