diff --git a/src/Makefile b/src/Makefile index 51806056..c9eb2d45 100644 --- a/src/Makefile +++ b/src/Makefile @@ -140,10 +140,10 @@ links: $(ALL_LINKS) install: $(TARGET) install -m 0755 -d $(DESTDIR)/$(LIB) install -m 0755 $(LIB_TARGETS) $(DESTDIR)/$(LIB) - ln -sf $(LIBEINFOSO) $(DESTDIR)/$(LIB)/libeinfo.so - ln -sf $(LIBRCSO) $(DESTDIR)/$(LIB)/librc.so install -m 0755 -d $(DESTDIR)/usr/$(LIB) install -m 0644 $(ULIB_TARGETS) $(DESTDIR)/usr/$(LIB) + ln -sf /$(LIB)/$(LIBEINFOSO) $(DESTDIR)/usr/$(LIB)/libeinfo.so + ln -sf /$(LIB)/$(LIBRCSO) $(DESTDIR)/usr/$(LIB)/librc.so install -m 0755 -d $(DESTDIR)/usr/include install -m 0644 einfo.h rc.h $(DESTDIR)/usr/include install -m 0755 -d $(DESTDIR)/bin