RE: [gtk-list] Re: glib 1.1.14 and libraries



On 04-Feb-99 Jeroen Ruigrok/Asmodai wrote:

> I'll let ye know how it went... And if successfull will send diffs.

This patches glib 1.1.14 to use shared libraries, I haven't been able to
check 1.1.15, but I think the `bug' is in that one as well...


--- ltconfig.orig       Thu Jan 28 06:04:16 1999
+++ ltconfig    Thu Feb  4 21:49:59 1999
@@ -1200,8 +1200,8 @@
     hardcode_shlibpath_var=no
     ;;
 
-  # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
-  freebsd3*)
+  # FreeBSD 3 and 4, at last, uses gcc -shared to do shared libraries.
+  freebsd3* | freebsd4*)
     archive_cmds='$CC -shared -o $lib$libobjs$deplibs'
     hardcode_libdir_flag_spec='-R$libdir'
     hardcode_direct=yes
@@ -1606,7 +1606,7 @@
   shlibpath_var=PATH
   ;;
 
-freebsd2* | freebsd3*)
+freebsd2* | freebsd3* | freebsd4*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
   version_type=freebsd-$objformat
   library_names_spec='${libname}${release}.so$versuffix $libname.so'



---
Jeroen Ruigrok van der Werven          It's a Dance of Energy,
asmodai(at)wxs.nl                 when the Mind goes Binary...
Network/Security Specialist      <http://home.wxs.nl/~asmodai>
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]