Commit d662dbb
Fix 64 bit build error
Changed files (3)
Diff
@@ -117,7 +117,7 @@ libbirdgems = Vala(src='libbirdgems', build='build', library='birdgems', so_vers def task_libbirdgems(): yield libbirdgems.gen_c(valac_options) yield libbirdgems.gen_o(['-fPIC'])- yield libbirdgems.gen_so('-L ./build -l m')+ yield libbirdgems.gen_so('-shared -L ./build -l m') yield libbirdgems.gen_ln() @@ -147,7 +147,7 @@ class Vala(object): def compile_cmd(conf, opts, libs, pos): flags = [] for l in libs:- if not l == "posix" and not l == "posixtypes":+ if not l == "posix" and not l == "posixtypes": process = subprocess.Popen ('pkg-config --cflags ' + l, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) cflags = process.stdout.readline() process.communicate()[0]@@ -162,6 +162,7 @@ class Vala(object): pos = ["-c " + cc, "-o " + obj ] cmd_args = {'libs':self.pkg_libs, 'opts':opts, 'pos':pos} action = CmdAction((compile_cmd, [], cmd_args))+ yield { 'name': obj.rsplit('/')[-1], 'file_dep': [ cc ],@@ -13,7 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. """ -VERSION = '2.7.6'+VERSION = '2.7.9' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR