diff --git a/nq/source/Makefile.am b/nq/source/Makefile.am index 3a3f40184..5eb99a50e 100644 --- a/nq/source/Makefile.am +++ b/nq/source/Makefile.am @@ -73,7 +73,7 @@ qf_client_LIBS= $(top_builddir)/libs/video/targets/libQFjs.la \ $(top_builddir)/libs/audio/libQFsound.la \ $(top_builddir)/libs/util/libQFutil.la -client_LIBS= -L. -lqfnet $(ASM) $(qf_client_LIBS) $(NET_LIBS) +client_LIBS= -L. libqfnet.la $(ASM) $(qf_client_LIBS) $(NET_LIBS) client_LIB_DEPS= libqfnet.la $(ASM) $(qf_client_LIBS) client_SOURCES= cl_cam.c cl_cmd.c cl_demo.c cl_input.c cl_main.c cl_screen.c \ diff --git a/qw/source/Makefile.am b/qw/source/Makefile.am index 61354f78c..135040f1b 100644 --- a/qw/source/Makefile.am +++ b/qw/source/Makefile.am @@ -82,7 +82,7 @@ qf_server_LIBS= $(top_builddir)/libs/models/libQFmodels.la \ $(top_builddir)/libs/util/libQFutil.la qw_server_SOURCES= $(common_SOURCES) $(server_SOURCES) -qw_server_LDADD= -L. -lqfnet $(ASM) $(qf_server_LIBS) $(NET_LIBS) $(DL_LIBS) +qw_server_LDADD= -L. libqfnet.la $(ASM) $(qf_server_LIBS) $(NET_LIBS) $(DL_LIBS) qw_server_DEPENDENCIES= libqfnet.la $(ASM) $(qf_server_LIBS) # Client builds @@ -100,7 +100,7 @@ qf_client_LIBS= $(top_builddir)/libs/video/targets/libQFjs.la \ $(top_builddir)/libs/audio/libQFsound.la \ $(top_builddir)/libs/util/libQFutil.la -client_LIBS= -L. -lqfnet $(ASM) $(qf_client_LIBS) $(NET_LIBS) +client_LIBS= -L. libqfnet.la $(ASM) $(qf_client_LIBS) $(NET_LIBS) client_LIB_DEPS= libqfnet.la $(ASM) $(qf_client_LIBS) # libQFjs is seperate because it needs to be linked after when building statically