What is the right way to detect if my library is built as a shared library?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

To determine whether to put ` __declspec(dllimport)` on my exported functions I
need to detect if my library is being built as a shared library or as a static
library (and then preprocess my header file to have the appropriate attribute).
What is the right way to detect if my library is built as a shared library?

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux