Skip to content

Instantly share code, notes, and snippets.

@DennisOSRM
Created September 6, 2012 02:52
Show Gist options
  • Select an option

  • Save DennisOSRM/3650292 to your computer and use it in GitHub Desktop.

Select an option

Save DennisOSRM/3650292 to your computer and use it in GitHub Desktop.
Patchfile for compiling the luabind/0.9 on OS X
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