diff options
author | Mike Pall <mike> | 2013-07-09 17:25:05 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2013-07-09 17:30:02 +0200 |
commit | 519ef0cba7ebceb99e727da9655692d137854188 (patch) | |
tree | 5f765b2adb14d39162ff8e52b300974524b796b1 /Makefile | |
parent | b2a13ddd74384ab6b73c12a953e22c1c3f1726da (diff) | |
download | luajit2-519ef0cba7ebceb99e727da9655692d137854188.tar.gz |
Add support for multilib distro builds.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -25,11 +25,12 @@ ABIVER= 5.1 # the paths in src/luaconf.h, too. Note: PREFIX must be an absolute path! # export PREFIX= /usr/local +export MULTILIB= lib ############################################################################## DPREFIX= $(DESTDIR)$(PREFIX) INSTALL_BIN= $(DPREFIX)/bin -INSTALL_LIB= $(DPREFIX)/lib +INSTALL_LIB= $(DPREFIX)/$(MULTILIB) INSTALL_SHARE= $(DPREFIX)/share INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER) @@ -73,7 +74,8 @@ INSTALL_X= install -m 0755 INSTALL_F= install -m 0644 UNINSTALL= $(RM) LDCONFIG= ldconfig -n -SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" +SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ + -e "s|^multilib=.*|multilib=$(MULTILIB)|" FILE_T= luajit FILE_A= libluajit.a |