Fix broken linux builds caused by recent DtHelp/Imakefile jpeg change

A patch from Pascal Stumpf using external jpeg broke linux builds,
since libjpeg needs to be linked in when using a remote jpeg lib.

So, in lnxLib.tmpl, define SharedDtHelpReqs so -ljpeg is used.  Also,
in DtHelp/Imakefile, use proper Arch defines so external jpeg libs are
only used on linux, fbsd, and obsd systems.
This commit is contained in:
Jon Trulson
2012-08-12 17:31:28 -06:00
parent 2b8bd0743b
commit fa3ad160e4
2 changed files with 13 additions and 0 deletions

View File

@@ -42,3 +42,6 @@ XMULIB = -lXmu $(XLIB)
# define SharedCsaReqs -lXt
#endif
#ifndef SharedDtHelpReqs
# define SharedDtHelpReqs -ljpeg
#endif