diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2022-02-02 19:24:28 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2022-02-03 12:52:10 +0000 |
commit | 8ad04c2f6c0f3bb6d01e994ef607bc2ddc8f5be1 (patch) | |
tree | 33c06f55542d44a6c1a40f6d1c8869409ea7dfcb /pcl | |
parent | 4f9ddc50b33f666e10cccd89f63f62a374f8b2c9 (diff) | |
download | ghostpdl-8ad04c2f6c0f3bb6d01e994ef607bc2ddc8f5be1.tar.gz |
Rework MSVC makefiles slightly.
Currently, we are building the .exe files with one crt library
and the dll with another. The only downside to this appears to
be that if you set a file descriptor to be 'binary' (for instance
stdin) in the app, the dll will still see it as text. This
causes corruption of files when they are catted in via stdin.
The fix here is to build all files in the same way. If MAKEDLL is
used, everything uses the DLL based crt, if not, nothing does.
This causes changes in which libraries are used. Listing such
libraries in the makefile becomes problematic due to VS2015
and onwards having changed the libraries in use.
Fortunately, because we are now using the correct (and consistent)
flags to the compiler, the default libraries are now correct,
which means we can now avoid having to mention the libraries by
name at all.
This has been tested with both VS2005 and VS2019.
Diffstat (limited to 'pcl')
0 files changed, 0 insertions, 0 deletions