On Feb 23 15:18, Corinna Vinschen wrote:
On Feb 23 14:52, Balazs Scheidler wrote:
hmm.. not even with -fPIC ? If I have to duplicate executable code into pdbtool anyway (because of static linking it), I'd rather not have a separate .so which is only loaded by an .so.
-fPIC and -fpic have no effect on Windows. The Windows loader doesn't support position independent code. So, no, it won't work either. [...] No worries. However, something else occured to me a couple of minutes ago. If you apply my patch, you must change
noinst_LTLIBRARIES = libsyslog-ng-patterndb.la
to
lib_LTLIBRARIES = libsyslog-ng-patterndb.la
If you keep it in noinst_LTLIBRARIES, the libdbparse.so module will be broken after installtion because it requires libsyslog-ng-patterndb.so to run. Sorry for forgetting that.
...and I'm even more sorry that we have to suffer so much from the restrictions of the underlying Windows system. :-| Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat