From 02005a95a4ed1341231a8f0ca7055d6801729ab0 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 17 Oct 2001 23:17:57 +0000 Subject: [PATCH] don't bother linking against an empty lib (some lds seg) --- source/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/Makefile.am b/source/Makefile.am index ae69b75..c5996e0 100644 --- a/source/Makefile.am +++ b/source/Makefile.am @@ -177,7 +177,11 @@ endif libqfjs_a_CFLAGS= $(JOY_CFLAGS) EXTRA_libqfjs_a_SOURCES= joy_linux.c joy_win.c joy_null.c +if SYSTYPE_WIN32 CLIENT_LIBS= -L. -lqfnet -lqfsys_cl -lqfsnd -lqfcd -lqfjs $(SOUND_LIBS) $(NET_LIBS) $(CD_LIBS) $(JOY_LIBS) $(Z_LIBS) +else +CLIENT_LIBS= -L. -lqfnet -lqfsnd -lqfcd -lqfjs $(SOUND_LIBS) $(NET_LIBS) $(CD_LIBS) $(JOY_LIBS) $(Z_LIBS) +endif if ASM_ARCH client_ASM= snd_mixa.S cl_math.S