The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Build on Mac OS

These changes was commited to the Birdfont repository Mon, 01 Jun 2015 10:26:15 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 01 Jun 2015 10:26:15 +0000 (12:26 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 01 Jun 2015 10:26:15 +0000 (12:26 +0200)
commit ced71f1c5c605e32dce5f7d5d467b363c28fe037
tree b03867a938aa21b2117e41b159956af4e6b5a257
parent c17684ad031dad0e8f58a300cbf39c6a18f667e5
Build on Mac OS

scripts/mac_build.py
--- a/scripts/mac_build.py +++ b/scripts/mac_build.py @@ -51,9 +51,6 @@ library_cflags = "-fno-common -fPIC " + cflags library_ldflags = options.ldflags + " " + """-dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0,-install_name,""" + prefix + """/lib/libbirdfont.dylib""" - - xml_library_cflags = "-fno-common -fPIC " + cflags - xml_library_ldflags = options.ldflags + " " + """-dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0,-install_name,""" + prefix + """/lib/libbirdxml.dylib""" gems_library_cflags = "-fno-common -fPIC -D MAC" + cflags gems_library_ldflags = options.ldflags + " " + """-dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0,-install_name,""" + prefix + """/lib/libbirdgems.dylib""" @@ -61,7 +58,6 @@ configfile.write_config (prefix) compile_translations() build.libbirdgems(prefix, cc, gems_library_cflags, gems_library_ldflags, valac, valaflags, "libbirdgems." + version.LIBBIRDGEMS_SO_VERSION + ".dylib", False) - build.libbirdxml(prefix, cc, xml_library_cflags, xml_library_ldflags, valac, valaflags, "libbirdxml." + version.LIBBIRDXML_SO_VERSION + ".dylib", False) build.libbirdfont(prefix, cc, library_cflags, library_ldflags, valac, valaflags, "libbirdfont." + version.SO_VERSION + ".dylib", False) build.birdfont_import(prefix, cc, cflags, ldflags, valac, valaflags, False)