WJSXMPPXEP_LIBS = ['wksxmppxep', 'm', 'crypto']
if with_ra_ibb:
- env.SConscript(base_dir + '/extlibs/libstrophe/SConscript')
- if not os.path.exists(SRC_NAME):
+
+ env.SConscript('#/extlibs/libstrophe/SConscript')
+ if not os.path.exists(INC_PATH):
raxmpp_env = Environment(ENV=os.environ)
c = raxmpp_env.Action([
'git clone https://github.com/WorksSystems/wks_xep0047.git ' + SRC_NAME,
else:
print 'Download', SRC_NAME, 'library complete'
- if not env.GetOption('clean'):
- print 'Building with ' + SRC_NAME
- os.chdir(SRC_NAME)
- if not os.path.exists('libwksxmppxep.so'):
- LIBSTROPHE_BASE = base_dir + '/extlibs/libstrophe/libstrophe'
- foo = commands.getoutput('make LIBSTROPHE_BASE=' +
+ if not env.GetOption('clean'):
+ print 'Building with ' + SRC_NAME
+ os.chdir(SRC_PATH)
+ if not os.path.exists('libwksxmppxep.so'):
+ LIBSTROPHE_BASE = base_dir + '/extlibs/libstrophe/libstrophe'
+ foo = commands.getoutput('make LIBSTROPHE_BASE=' +
LIBSTROPHE_BASE + ' libraries')
- print foo
- if not os.path.exists('libwksxmppxep.so'):
- msg = 'Building with ' + SRC_NAME + ' failed.'
- Exit(msg)
- else:
- foo = commands.getoutput('cp libwksxmppxep.so ' + build_dir)
- print foo
- foo = commands.getoutput('cp libwksxmppxep.a ' + build_dir)
- print foo
-
- print 'Building with ' + SRC_NAME + ' Completely.'
+ print foo
+ if not os.path.exists('libwksxmppxep.so'):
+ msg = 'Building with ' + SRC_NAME + ' failed.'
+ Exit(msg)
+ else:
+ foo = commands.getoutput('cp libwksxmppxep.so ' + build_dir)
+ print foo
+ foo = commands.getoutput('cp libwksxmppxep.a ' + build_dir)
+ print foo
+ print 'Building with ' + SRC_NAME + ' Completely.'
env.PrependUnique(
CPPPATH=[INC_PATH],