Rainer Gerhards <rgerha...@hq.adiscon.com> was heard to say:

> I don't remember if you use libtool. If not, Samuel may consider modifying
> libdbi to utilize libtool, which what should not be too hard. As of my
> understanding (never actually tried it), libtool provides full flexibility in
> deciding if dynamic or static linking is used.
>

Dynamic vs. static linking is a different issue. At this time, libdbi  
is not linked against the drivers at all, for the reasons mentioned in  
my previous mail. Instead it uses dlopen() to load the drivers at  
runtime. libtool is involved here only on platforms which do not  
provide their own dlopen() implementation. However, building libdbi as  
a dynamic library uses libtool anyway, and it should be possible to  
statically link a project against libdbi if desired without further  
modifications.

regards,
Markus



-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to