In my builds, libtool is doing:
-fPIC -DPIC
Which would mean you should be able to do:
#ifdef PIC
or the like. From reading the libtool.m4 file, it looks like it will not
add -DPIC if you are using djgpp.
Monty
Jason Curl wrote:
> Hello,
>
> I've set up a library that can be built on Window
Hello,
I've set up a library that can be built on Windows (mingw32 or cygwin)
or on a Unix type OS (e.g. Linux or Solaris). I've defined a header that
checks if the WINDOWS_H file exists and if it does, I then define things
like LIBAPI, WINAPI, DLLEXPORT.
That all works when I build a shared