Lines 112-118
Link Here
|
112 |
channel = optenv['CHANNEL'] |
112 |
channel = optenv['CHANNEL'] |
113 |
standalone = optenv['STANDALONE'] |
113 |
standalone = optenv['STANDALONE'] |
114 |
opensource = standalone or optenv['OPENSOURCE'] |
114 |
opensource = standalone or optenv['OPENSOURCE'] |
115 |
enable_fmod = not opensource and optenv['FMOD'] |
115 |
enable_fmod = optenv['FMOD'] |
116 |
elfio = optenv['ELFIO'] |
116 |
elfio = optenv['ELFIO'] |
117 |
|
117 |
|
118 |
targets = [ target_param ] |
118 |
targets = [ target_param ] |
Lines 135-140
Link Here
|
135 |
'gdk-pixbuf-2.0', |
135 |
'gdk-pixbuf-2.0', |
136 |
'glib-2.0', |
136 |
'glib-2.0', |
137 |
'gmodule-2.0', |
137 |
'gmodule-2.0', |
|
|
138 |
'gthread-2.0', |
138 |
'gtk+-2.0', |
139 |
'gtk+-2.0', |
139 |
'libpng', |
140 |
'libpng', |
140 |
'pango', |
141 |
'pango', |
Lines 155-160
Link Here
|
155 |
'libssl', |
156 |
'libssl', |
156 |
] |
157 |
] |
157 |
|
158 |
|
|
|
159 |
if enable_gstreamer: |
160 |
standalone_pkgs += [ 'gstreamer-0.10' ] |
161 |
|
158 |
def pkgconfig(opt, pkgs=None): |
162 |
def pkgconfig(opt, pkgs=None): |
159 |
if pkgs is None: |
163 |
if pkgs is None: |
160 |
pkgs = standalone_pkgs + standalone_net_pkgs |
164 |
pkgs = standalone_pkgs + standalone_net_pkgs |
Lines 243-249
Link Here
|
243 |
############## |
247 |
############## |
244 |
|
248 |
|
245 |
# Generic GCC flags |
249 |
# Generic GCC flags |
246 |
cflags = '-g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -Werror -fexceptions ' |
250 |
cflags = '-g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -fexceptions ' |
247 |
cxxflags = '' |
251 |
cxxflags = '' |
248 |
cppflags = '-D_FORTIFY_SOURCE=2 ' |
252 |
cppflags = '-D_FORTIFY_SOURCE=2 ' |
249 |
if standalone: |
253 |
if standalone: |
Lines 602-608
Link Here
|
602 |
net_external_libs = [ 'curl', 'ssl', 'crypto', 'aprutil-1', 'apr-1' ] |
606 |
net_external_libs = [ 'curl', 'ssl', 'crypto', 'aprutil-1', 'apr-1' ] |
603 |
net_external_libs += [ 'cares', 'expat' ] |
607 |
net_external_libs += [ 'cares', 'expat' ] |
604 |
|
608 |
|
605 |
common_external_libs = net_external_libs + [ 'xmlrpc-epi', 'z' ] |
609 |
common_external_libs = net_external_libs + [ 'xmlrpc', 'z' ] |
606 |
|
610 |
|
607 |
if build_target == 'client': |
611 |
if build_target == 'client': |
608 |
if platform == 'linux': |
612 |
if platform == 'linux': |
Lines 742-748
Link Here
|
742 |
internal_libs + external_libs) |
746 |
internal_libs + external_libs) |
743 |
|
747 |
|
744 |
# Rpcserver |
748 |
# Rpcserver |
745 |
external_libs = common_external_libs + ['xmlrpc-epi', 'mysqlclient'] |
749 |
external_libs = common_external_libs + ['xmlrpc', 'mysqlclient'] |
746 |
internal_libs = ['llscene', 'llmessage', 'lldatabase', 'llvfs', |
750 |
internal_libs = ['llscene', 'llmessage', 'lldatabase', 'llvfs', |
747 |
'llmath', 'llcommon'] |
751 |
'llmath', 'llcommon'] |
748 |
create_executable('rpcserver/rpcserver' + file_suffix, 'rpcserver', |
752 |
create_executable('rpcserver/rpcserver' + file_suffix, 'rpcserver', |