summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdha/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdha/Makefile b/libdha/Makefile
index d46bfbaadf..024a102c96 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -34,7 +34,8 @@ endif
$(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)