changeset 7812:29a006405a5f

fix previous patch.
author eyck
date Sun, 20 Oct 2002 10:41:32 +0000
parents aa0536d98278
children 76940a39405a
files libdha/Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Sun Oct 20 08:43:09 2002 +0000
+++ b/libdha/Makefile	Sun Oct 20 10:41:32 2002 +0000
@@ -34,7 +34,8 @@
 	$(CC) -c $(CFLAGS) -o $@ $<
 
 $(LIBNAME):     $(OBJS)
-	$(CC) -shared $(SONAME_FLAGS) -o $(LIBNAME) $(OBJS) $(LIBS)
+	#$(CC) -shared $(SONAME_FLAGS) -o $(LIBNAME) $(OBJS) $(LIBS)
+	$(CC) -shared -Wl,-soname -Wl,$(LIBNAME) -o $(LIBNAME) $(OBJS) $(LIBS)
 	ln -sf $(LIBNAME) $(SHORTNAME)
 
 all:    $(LIBNAME) $(SHORTNAME)