I was working on splitoff-ifying my rrdtool package, and while checking
everything, I noticed that the version info isn't ending up into the
library:

---(snip!)---
/sw/lib/librrd-1.0.33.dylib:
        /sw/lib/librrd-1.0.33.dylib (compatibility version 0.0.0, current version 
0.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
55.0.0)
---(snip!)---

...but when I link, libtool has the version info passed to it:

---(snip!)---
/bin/sh ../libtool --mode=link cc -release 1.0.33 -current_version 1.0.33 
-compatibility_version 1.0 -undefined suppress -flat_namespace -L.libs -L/sw/lib  -g 
-O2 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline  -fno-common -o librrd.la -rpath 
/sw/lib -release 1.0.33 -current_version 1.0.33 -compatibility_version 1.0 gdpng.lo 
getopt.lo getopt1.lo gifsize.lo parsetime.lo pngsize.lo rrd_create.lo rrd_diff.lo 
rrd_dump.lo rrd_info.lo rrd_error.lo rrd_fetch.lo rrd_format.lo rrd_graph.lo 
rrd_last.lo rrd_open.lo rrd_resize.lo rrd_restore.lo rrd_tune.lo rrd_update.lo 
../cgilib-0.4/librrd_cgi.la           ../gd1.3/librrd_gd.la 
../libpng-1.0.9/librrd_png.la           ../zlib-1.1.3/librrd_z.la 
rm -fr .libs/librrd.la .libs/librrd.* .libs/librrd-1.0.33.*
cc -dynamiclib -flat_namespace -undefined suppress -o .libs/librrd-1.0.33.dylib  
gdpng.lo getopt.lo getopt1.lo gifsize.lo parsetime.lo pngsize.lo rrd_create.lo 
rrd_diff.lo rrd_dump.lo rrd_info.lo rrd_error.lo rrd_fetch.lo rrd_format.lo 
rrd_graph.lo rrd_last.lo rrd_open.lo rrd_resize.lo rrd_restore.lo rrd_tune.lo 
rrd_update.lo -all_load  ../cgilib-0.4/.libs/librrd_cgi.al ../gd1.3/.libs/librrd_gd.al 
../libpng-1.0.9/.libs/librrd_png.al ../zlib-1.1.3/.libs/librrd_z.al  -L.libs -L/sw/lib 
-lc  -install_name /sw/lib/librrd-1.0.33.dylib
---(snip!)---

...it looks like the version stuff doesn't get passed along to the cc.
I am updating libtool in the package though, so it should be
darwin-aware.  Any ideas what's going on here, or a workaround to get
the library version info into the dylib?

-- 
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/
I'm not a robot like you. I don't like having disks crammed into me... unless
they're Oreos, and then only in the mouth. -- Fry

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to