Mercurial > pub > dyncall > dyncall
annotate buildsys/lua/bootstrap.sh @ 223:7076f551faf5
- dynload mach-o handling fixes for 64bit platforms
- dynload test code improvements
- dynload(3) clarification
author | Tassilo Philipp |
---|---|
date | Sat, 15 Apr 2017 15:21:37 +0200 |
parents | 3e629dc19168 |
children |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 if [ -z "${DL}" ]; then | |
3 DL=wget | |
4 fi | |
5 case `uname -s` in | |
6 Darwin) | |
7 LPLAF=macosx | |
8 ;; | |
9 Linux) | |
10 LPLAF=linux | |
11 ;; | |
12 FreeBSD) | |
13 LPLAF=freebsd | |
14 ;; | |
15 SunOS) | |
16 LPLAF=solaris | |
17 ;; | |
18 AIX) | |
19 LPLAF=aix | |
20 ;; | |
21 DragonFly) | |
22 LPLAF=bsd | |
23 ;; | |
24 *BSD) | |
25 LPLAF=bsd | |
26 ;; | |
27 *) | |
28 LPLAF=posix | |
29 ;; | |
30 esac | |
31 DL="${DL}" make -f `dirname $0`/Makefile lua-5.1.4 | |
32 (cd lua-5.1.4; make ${LPLAF}) | |
33 | |
34 |