From 9b630f08717ee19d134af967c405e5db5aa6b84a Mon Sep 17 00:00:00 2001 From: Bernd Machenschalk Date: Mon, 20 Jun 2022 16:36:44 +0000 Subject: [PATCH] build fcgi_file_upload_handler w/o mysql libs (like file_upload_handler already does) --- Makefile.incl | 1 + sched/Makefile.am | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile.incl b/Makefile.incl index f7599ac13a..0b593708ac 100644 --- a/Makefile.incl +++ b/Makefile.incl @@ -65,4 +65,5 @@ SERVERLIBS_MIN = $(LIBSCHED) $(LIBBOINC_CRYPT) $(LIBBOINC) $(PTHREAD_LIBS) $(RSA SERVERLIBS_FCGI = $(LIBSCHED_FCGI) $(LIBBOINC_CRYPT) $(LIBBOINC_FCGI) -lfcgi $(MYSQL_LIBS) $(PTHREAD_LIBS) $(RSA_LIBS) $(SSL_LIBS) APPLIBS = $(LIBAPI) $(LIBBOINC) FUHLIBS = $(LIBBOINC_CRYPT) $(LIBBOINC) $(RSA_LIBS) $(SSL_LIBS) +FUHLIBS_FCGI = $(LIBBOINC_CRYPT) $(LIBBOINC_FCGI) -lfcgi $(RSA_LIBS) $(SSL_LIBS) diff --git a/sched/Makefile.am b/sched/Makefile.am index 7fc0b9fd3a..f7e706d417 100644 --- a/sched/Makefile.am +++ b/sched/Makefile.am @@ -315,11 +315,9 @@ fcgi_SOURCES = $(cgi_sources) fcgi_CPPFLAGS = -D_USING_FCGI_ $(AM_CPPFLAGS) fcgi_LDADD = $(SERVERLIBS_FCGI) -fcgi_file_upload_handler_SOURCES = \ - file_upload_handler.cpp \ - sched_config.cpp +fcgi_file_upload_handler_SOURCES = file_upload_handler.cpp sched_config.cpp sched_util_basic.cpp sched_limit.cpp fcgi_file_upload_handler_CPPFLAGS = -D_USING_FCGI_ $(AM_CPPFLAGS) -fcgi_file_upload_handler_LDADD = $(SERVERLIBS_FCGI) +fcgi_file_upload_handler_LDADD = $(FUHLIBS_FCGI) endif # end of "if ENABLE_FCGI"