aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index d5b1561efc0..a8acc3828c5 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -163,6 +163,10 @@ CC = C_COMPILER
163#define LD_SWITCH_X_SITE 163#define LD_SWITCH_X_SITE
164#endif 164#endif
165 165
166#ifndef LD_SWITCH_X_DEFAULT
167#define LD_SWITCH_X_DEFAULT
168#endif
169
166/* These can be passed in from config.h to define special load and 170/* These can be passed in from config.h to define special load and
167 compile switches needed by individual sites */ 171 compile switches needed by individual sites */
168#ifndef LD_SWITCH_SITE 172#ifndef LD_SWITCH_SITE
@@ -321,7 +325,9 @@ LIBXT=
321#endif 325#endif
322 326
323#ifdef HAVE_X11 327#ifdef HAVE_X11
324LIBX= $(LIBXMENU) LD_SWITCH_X_SITE $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM 328/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
329 options for where to find X libraries, but before those libraries. */
330LIBX= $(LIBXMENU) LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
325#else /* not HAVE_X11 */ 331#else /* not HAVE_X11 */
326LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM 332LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
327#endif /* not HAVE_X11 */ 333#endif /* not HAVE_X11 */