Created
September 6, 2012 02:52
-
-
Save DennisOSRM/3650292 to your computer and use it in GitHub Desktop.
Patchfile for compiling the luabind/0.9 on OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Jamroot b/Jamroot | |
| index 94494bf..e0d95f7 100755 | |
| --- a/Jamroot | |
| +++ b/Jamroot | |
| @@ -84,7 +84,7 @@ else if [ os.name ] in LINUX MACOSX FREEBSD | |
| local lib = $(prefix)/lib ; | |
| local names = liblua5.1 liblua51 liblua ; | |
| - local extensions = .a .so ; | |
| + local extensions = .a .so .dylib ; | |
| library = [ GLOB $(lib)/lua51 $(lib)/lua5.1 $(lib)/lua $(lib) : | |
| $(names)$(extensions) ] ; | |
| diff --git a/luabind/detail/format_signature.hpp b/luabind/detail/format_signatu | |
| index 56e7963..2ffc708 100644 | |
| --- a/luabind/detail/format_signature.hpp | |
| +++ b/luabind/detail/format_signature.hpp | |
| @@ -13,12 +13,16 @@ | |
| # include <boost/mpl/next.hpp> | |
| # include <boost/mpl/size.hpp> | |
| -namespace luabind { | |
| +namespace luabind { namespace adl { | |
| class object; | |
| class argument; | |
| template <class Base> | |
| struct table; | |
| +} //namespace adl | |
| +using adl::object; | |
| +using adl::argument; | |
| +using adl::table; | |
| } // namespace luabind |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment