Hey All,

I made my first attempt of using libtool with tclx to have it produce a
versioned dylib.  I've never used libtool before, so if anyone could take a
look at this an let me know if this is the right way to use it or if there is
a better approach/errors to fix.  libtool is calling the library
libtclx.8.0.4.dylib.  Why does it do that?

Thanks!
-kurt

ConfigureParams: --enable-shared --enable-static --with-tclconfig=%p/lib
--with-tkconfig=%p/lib --with-tclinclude=%p/include
--with-tkinclude=%p/include
##
PatchScript: perl -pi -e 's|[EMAIL PROTECTED]@|glibtool --mode=compile [EMAIL 
PROTECTED]@|g'
Makefile.in
# See also in InstallScript where it alters Makefile
##
CompileScript: <<
  ./configure %c
  make TCL_SRC_DIR=%b/../tcl8.4.6
  glibtool --mode link gcc -g -o libtclx.la -rpath %p/lib -version-info 8:4:0
*.lo
<<
InstallScript: <<
  perl -pi -e 's|%p|%i|g' Makefile
  make install

  cp .libs/libtclx.8.0.4.dylib %i/lib/libtclx.8.4.0.dylib
  cp .libs/libtclx.{a,la} %i/lib

etc ...


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to