build fcgi_file_upload_handler w/o mysql libs (like file_upload_handler already does)

This commit is contained in:
Bernd Machenschalk 2022-06-20 16:36:44 +00:00
parent a00a7bec4d
commit 9b630f0871
2 changed files with 3 additions and 4 deletions

View File

@ -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)

View File

@ -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"