Skip to content

Commit

Permalink
Merge pull request #4 from seryl/prepare_for_luarocks
Browse files Browse the repository at this point in the history
luarocks build works properly on osx and linux now
  • Loading branch information
forhappy committed Apr 18, 2014
2 parents bfca755 + b753098 commit b708906
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Expand Up @@ -14,7 +14,7 @@ LUA_VERSION_NUMBER = 5.1

CC = gcc
CFLAGS = `pkg-config --cflags $(LUA_VERSION)` -fPIC -O2 #-Wall
INSTALL_PATH = $(pkg-config $(LUA_VERSION) --variable=INSTALL_CMOD)
INSTALL_PATH = $(shell pkg-config $(LUA_VERSION) --variable=libdir)/$(LUA_VERSION)/$(LUA_VERSION_NUMBER)

OS_NAME = $(shell uname -s)
MH_NAME = $(shell uname -m)
Expand Down Expand Up @@ -51,4 +51,3 @@ ifeq ($(OS_NAME), Darwin)
else
install -D -s zklua.so $(INSTALL_PATH)/zklua.so
endif

0 comments on commit b708906

Please sign in to comment.