Skip to content

Instantly share code, notes, and snippets.

@DennisOSRM
Created September 15, 2012 17:38
Show Gist options
  • Save DennisOSRM/3728987 to your computer and use it in GitHub Desktop.
Save DennisOSRM/3728987 to your computer and use it in GitHub Desktop.
Patching Jamroot script for luabind to also look for .dylib shared objects
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) ] ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment