|
RE: renaming the .so in C->python: msg#00139programming.swig
>-----Original Message----- >From: swig-admin@xxxxxxxxxxxxxxx [mailto:swig-admin@xxxxxxxxxxxxxxx]On >Behalf Of Martin F Krafft >Sent: 25 May 2004 15:22 >To: swig people >Subject: [Swig] renaming the .so in C->python > > >I grok the _lib.so naming and interaction with lib.py. However, >since I want to use libtool, I am forced to name my libraries >lib*.so. it sucks. > >So my question: since _lib.so is hardcoded in lib.py as 'import >_lib', is there a better way to customise the name of the .so than >sed? > You could get libtool to generate _lib.so by adding in a new 'all' target. Adding this to your Makefile.am might work: _lib.so : libwhatever.so cp libwhatever.so _lib.so all-local: _lib.so William -- Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: using stdout/stderr with python: 00139, Luigi Ballabio |
|---|---|
| Next by Date: | Re: Typedefs of template instantiations not recognized properly?: 00139, Steve Fink |
| Previous by Thread: | Re: renaming the .so in C->pythoni: 00139, Craig N. Scott |
| Next by Thread: | Re: renaming the .so in C->python: 00139, Martin F Krafft |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |