luabind/luabind-0.9.1-lua-5.2-Jamfile.patch

26 lines
967 B
Diff
Raw Normal View History

diff -Nru luabind-0.9.1.orig/Jamroot luabind-0.9.1/Jamroot
--- luabind-0.9.1.orig/Jamroot 2014-09-15 12:08:13.322118415 +0200
+++ luabind-0.9.1/Jamroot 2014-09-15 13:14:51.009240593 +0200
@@ -64,7 +64,7 @@
$(LUA_PATH) $(HOME)/Library/Frameworks /Library/Frameworks /usr /usr/local /opt/local /opt ;
local possible-suffixes =
- include/lua5.1 include/lua51 include/lua include ;
+ include/lua5.2 include/lua52 include/lua include ;
local includes = [ GLOB $(possible-prefixes)/$(possible-suffixes) : lua.h ] ;
@@ -83,10 +83,10 @@
local lib = $(prefix)/lib64 ;
- local names = liblua5.1 liblua51 liblua ;
+ local names = liblua5.2 liblua52 liblua ;
local extensions = .a .so ;
- library = [ GLOB $(lib)/lua51 $(lib)/lua5.1 $(lib)/lua $(lib) :
+ library = [ GLOB $(lib)/lua52 $(lib)/lua5.2 $(lib)/lua $(lib) :
$(names)$(extensions) ] ;
lib-name = [ MATCH "lib(.*)" : $(library[1]:B) ] ;