Package: boinc / 7.14.2+dfsg-3

file_upload_handler_in_sched_linking.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Link LIBBOINC to some binary needing it.
Index: boinc/sched/Makefile.am
===================================================================
--- boinc.orig/sched/Makefile.am
+++ boinc/sched/Makefile.am
@@ -277,7 +277,7 @@
 update_stats_LDADD = $(SERVERLIBS)
 
 file_upload_handler_SOURCES = file_upload_handler.cpp sched_config.cpp sched_util_basic.cpp sched_limit.cpp
-file_upload_handler_LDADD = $(FUHLIBS)
+file_upload_handler_LDADD = $(FUHLIBS) $(LIBBOINC)
 
 make_work_SOURCES = make_work.cpp
 make_work_LDADD = $(SERVERLIBS)
@@ -318,7 +318,7 @@
     file_upload_handler.cpp \
     sched_config.cpp
 fcgi_file_upload_handler_CPPFLAGS = -D_USING_FCGI_ $(AM_CPPFLAGS)
-fcgi_file_upload_handler_LDADD = $(SERVERLIBS_FCGI)
+fcgi_file_upload_handler_LDADD = $(SERVERLIBS_FCGI) $(LIBBOINC)
 
 endif
 # end of "if ENABLE_FCGI"