aboutsummaryrefslogtreecommitdiffstats
path: root/lualdap
diff options
context:
space:
mode:
authorTomas Guisasola <tomas@luaforge.net>2005-06-24 01:50:56 +0000
committerTomas Guisasola <tomas@luaforge.net>2005-06-24 01:50:56 +0000
commited2ecb58f1ee9deff0e1158c704e01a18e19c868 (patch)
treeb0b12dd30d3bcd0f5254c530923b6f411d4ed8e1 /lualdap
parentRemoving field _NAME. (diff)
downloadlualdap-ed2ecb58f1ee9deff0e1158c704e01a18e19c868.tar.xz
lualdap-ed2ecb58f1ee9deff0e1158c704e01a18e19c868.zip
Library name without prefix: <lib>.so.<ver>
Adding symbolic link: <lib>.so -> <lib>.so.<ver>
Diffstat (limited to 'lualdap')
-rwxr-xr-xlualdap/Makefile4
-rwxr-xr-xlualdap/config6
2 files changed, 5 insertions, 5 deletions
diff --git a/lualdap/Makefile b/lualdap/Makefile
index 0ff86a2..abdd0f5 100755
--- a/lualdap/Makefile
+++ b/lualdap/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 2005-06-10 13:23:14 tomas Exp $
+# $Id: Makefile,v 1.26 2005-06-24 01:50:56 tomas Exp $
T= lualdap
V= 1.0
@@ -18,7 +18,7 @@ $(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
install: src/$(LIBNAME)
mkdir -p $(LUA_LIBDIR)
cp src/$(LIBNAME) $(LUA_LIBDIR)
- ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so
+ cd $(LUA_LIBDIR); ln -f -h -s $(LIBNAME) $T.so
clean:
rm -f $(OBJS) src/$(LIBNAME)
diff --git a/lualdap/config b/lualdap/config
index fac8ca1..5796c18 100755
--- a/lualdap/config
+++ b/lualdap/config
@@ -2,7 +2,7 @@
# System's libraries directory (where binary libraries are installed)
LUA_LIBDIR= /usr/local/lib/lua/5.0
# Lua includes directory
-LUA_INC= /usr/local/include/lua5
+LUA_INC= /usr/local/include
# OpenLDAP includes directory
OPENLDAP_INC= /usr/local/include
@@ -10,7 +10,7 @@ OPENLDAP_INC= /usr/local/include
LIB_OPTION= -shared #for Linux
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
-LIBNAME= lib$T-$V.so
+LIBNAME= $T.so.$V
COMPAT_DIR= ../compat/src
# Compilation parameters
@@ -19,4 +19,4 @@ INCS= -I$(LUA_INC) -I$(OPENLDAP_INC) -I$(COMPAT_DIR)
CFLAGS= $(WARN) $(INCS)
CC= gcc
-# $Id: config,v 1.2 2005-06-10 13:23:14 tomas Exp $
+# $Id: config,v 1.3 2005-06-24 01:50:56 tomas Exp $