-Link the luajit executable to the shared libraries.
-
-diff -u -r ../LuaJIT-2.0.3/src/Makefile ./src/Makefile
---- ../LuaJIT-2.0.3/src/Makefile 2014-03-12 13:10:00.000000000 +0100
-+++ ./src/Makefile 2014-07-09 02:39:15.344355861 +0200
-@@ -72,14 +72,14 @@
+diff -u -r ../LuaJIT-2.1.0-beta2/src/Makefile ./src/Makefile
+--- ../LuaJIT-2.1.0-beta2/src/Makefile 2016-03-03 12:40:00.000000000 +0100
++++ ./src/Makefile 2016-06-11 00:59:21.000000000 +0200
+@@ -71,14 +71,14 @@
# as dynamic mode.
#
# Mixed mode creates a static + dynamic library and a statically linked luajit.
#
##############################################################################
+@@ -166,10 +166,6 @@
+ HOST_SYS= Windows
+ HOST_MSYS= cygwin
+ endif
+- # Use Clang for OSX host.
+- ifeq (Darwin,$(HOST_SYS))
+- DEFAULT_CC= clang
+- endif
+ endif
+
+ ##############################################################################