From ed2ecb58f1ee9deff0e1158c704e01a18e19c868 Mon Sep 17 00:00:00 2001 From: Tomas Guisasola Date: Fri, 24 Jun 2005 01:50:56 +0000 Subject: Library name without prefix: .so. Adding symbolic link: .so -> .so. --- lualdap/Makefile | 4 ++-- lualdap/config | 6 +++--- 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 $ -- cgit v1.2.3-59-g8ed1b