aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomas <tomas>2005-06-24 01:49:16 +0000
committertomas <tomas>2005-06-24 01:49:16 +0000
commit1a1f08c803046e6812d1046d305e957a9274b550 (patch)
tree41cd6e58e6ee65989c6de4e59d64437670ba1afd
parent3479c6d9354a0574364ea05b3d3b56cc095e5d39 (diff)
downloadluafilesystem-1a1f08c803046e6812d1046d305e957a9274b550.tar.gz
luafilesystem-1a1f08c803046e6812d1046d305e957a9274b550.tar.bz2
luafilesystem-1a1f08c803046e6812d1046d305e957a9274b550.zip
Library name without prefix: <lib>.so.<ver>
Adding symbolic link: <lib>.so -> <lib.so.<ver>
-rw-r--r--Makefile6
-rw-r--r--config6
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index bd79b73..a1bc6d2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1# $Id: Makefile,v 1.24 2005/06/10 13:01:15 tomas Exp $ 1# $Id: Makefile,v 1.25 2005/06/24 01:49:16 tomas Exp $
2 2
3T= lfs 3T= lfs
4V= 1.2 4V= 1.2
@@ -22,7 +22,7 @@ $(COMPAT_O): $(COMPAT_DIR)/compat-5.1.c
22install: src/$(LIBNAME) 22install: src/$(LIBNAME)
23 mkdir -p $(LUA_LIBDIR) 23 mkdir -p $(LUA_LIBDIR)
24 cp src/$(LIBNAME) $(LUA_LIBDIR) 24 cp src/$(LIBNAME) $(LUA_LIBDIR)
25 ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so 25 cd $(LUA_LIBDIR); ln -f -h -s $(LIBNAME) $T.so
26 26
27clean: 27clean:
28 rm -f src/$(LIBNAME) $(OBJS) 28 rm -f src/$(LIBNAME) $(OBJS) $(COMPAT_O)
diff --git a/config b/config
index b6ef38c..5bbd47a 100644
--- a/config
+++ b/config
@@ -2,13 +2,13 @@
2# System's libraries directory (where binary libraries are installed) 2# System's libraries directory (where binary libraries are installed)
3LUA_LIBDIR= /usr/local/lib/lua/5.0 3LUA_LIBDIR= /usr/local/lib/lua/5.0
4# Lua includes directory 4# Lua includes directory
5LUA_INC= /usr/local/include/lua5 5LUA_INC= /usr/local/include
6 6
7# OS dependent 7# OS dependent
8LIB_OPTION= -shared #for Linux 8LIB_OPTION= -shared #for Linux
9#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X 9#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
10 10
11LIBNAME= lib$T-$V.so 11LIBNAME= $T.so.$V
12COMPAT_DIR= ../compat/src 12COMPAT_DIR= ../compat/src
13 13
14# Compilation directives 14# Compilation directives
@@ -17,4 +17,4 @@ INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
17CFLAGS= $(WARN) $(INCS) 17CFLAGS= $(WARN) $(INCS)
18CC= gcc 18CC= gcc
19 19
20# $Id: config,v 1.13 2005/06/10 13:01:15 tomas Exp $ 20# $Id: config,v 1.14 2005/06/24 01:49:16 tomas Exp $