File: file_upload_handler_in_sched_linking.patch

package info (click to toggle)
boinc 8.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 110,632 kB
  • sloc: cpp: 178,901; php: 115,537; pascal: 56,058; ansic: 49,303; xml: 17,863; python: 8,756; javascript: 6,538; sh: 5,800; makefile: 2,254; objc: 1,867; perl: 1,843; sql: 831; java: 429; lisp: 47; csh: 30
file content (23 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (2)
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-7.16.1+git20190825+dfsg/sched/Makefile.am
===================================================================
--- boinc-7.16.1+git20190825+dfsg.orig/sched/Makefile.am
+++ boinc-7.16.1+git20190825+dfsg/sched/Makefile.am
@@ -277,7 +277,7 @@ update_stats_SOURCES = update_stats.cpp
 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)
@@ -316,7 +316,7 @@ fcgi_file_upload_handler_SOURCES = \
 
 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 = $(FUHLIBS_FCGI)
+fcgi_file_upload_handler_LDADD = $(FUHLIBS_FCGI) $(LIBBOINC)
 
 endif
 # end of "if ENABLE_FCGI"