aboutsummaryrefslogtreecommitdiffhomepage
path: root/libdha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libdha/Makefile')
-rw-r--r--libdha/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdha/Makefile b/libdha/Makefile
index 13e789e974..a1d45bf2a6 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -49,7 +49,8 @@ depend:
$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
install:
- cp $(LIBNAME) $(prefix)/lib/$(LIBNAME)
+ mkdir -p $(prefix)/lib
+ install -m 755 -s -p $(LIBNAME) $(prefix)/lib/$(LIBNAME)
rm -f $(prefix)/lib/libdha.so
ln -sf $(LIBNAME) $(prefix)/lib/libdha.so
ldconfig