Linking statically to libpq
2007-07-08 14:47:54 GMT
I have built libpqxx-2.6.9 on windows (including implementing the 2 workarounds noted on the main page for Win32). All went well but I have a question.
I created libpqxx_static.lib but it seems to work against the libpq.dll by default and is even nice enough to copy it into the <src>/lib directory for me. I’d like it to link statically to libpq.lib and not require the DLL. Is it set up so that if I link my apps against the static versions of both libpq and libpqxx I won’t need the DLL, or is that just a hard requirement of using libpqxx—i.e., must include the libpq.dll?
What defines do I need to make that happen?
Thanks in advance!
_______________________________________________ Libpqxx-general mailing list Libpqxx-general@... http://gborg.postgresql.org/mailman/listinfo/libpqxx-general