On Tue, May 8, 2018 at 1:50 PM, Derek B. Noonburg <[email protected]> wrote: > On Tue, 8 May 2018 09:31:10 -0400 > Alexei Podtelezhnikov <[email protected]> wrote: > >> On Mon, May 7, 2018 at 7:19 PM, Derek B. Noonburg >> <[email protected]> wrote: >> > In any case, success of LT_PROG_RC doesn't imply that <windows.h> >> > exists, or that we want the DLL resource file at all -- it's >> > presumably not useful when building a Linux library. >> >> make RC='' would work around the issue for you. If windres is provided >> for cross-compilation, windows.h should be provided as well in a >> reasonable cross-compilation setup. I would not want to drop it from >> ftver.rc. It is true that it is only useful for DLL. I wonder if >> LT_INIT(win32-dll) defines something when successful. > > I'm not sure how to test for that in the Makefile, but there's presumably > some way to do it (?)
Libtool adds -DDLL_EXPORT under certain conditions. I am debating if LT_PROG_RC should be called under the same conditions or -DDLL_EXPORT should be checked in the Makefile? RC is libtoolized too, isn;t it? In theory libtool knows what it is building. _______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
