From: Nadig N. <ni...@qr...> - 2013-02-21 06:31:33
|
SWIG does not do anything with linkage, purely with file generation. You can specify static or dynamic linkage at build / compile time through your compiler flags -----Original Message----- From: codeoedoc [mailto:cod...@gm...] Sent: Thursday, February 21, 2013 12:18 PM To: swi...@li... Subject: [Swig-user] swig with static c++ lib Hi there, I'm working on a project that needs wrapping static c++ lib and expose python API. I did some search and still not clear on, whether I can use static c++ lib with SWIG, and whether Python can load static library. It seems to use static library in python, one has to wrap the static lib into dynamic lib. Thanks advance for help! Xin ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Swig-user mailing list Swi...@li... https://lists.sourceforge.net/lists/listinfo/swig-user |