summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Leech <leech@pobox.com>2018-06-18 14:59:23 -0700
committerGitHub <noreply@github.com>2018-06-18 14:59:23 -0700
commit4ef926185f300dc34593261ab8f9de39a32f80cb (patch)
treeca57e82eff18b52e28931741df1ceee6fed103cf
parentbd79e4ed1004a6035d2538a308c5930890421a22 (diff)
parentcd2b32e4f8c9e095c5dfbb232097e1a3e5fa359c (diff)
downloadopen-iscsi-4ef926185f300dc34593261ab8f9de39a32f80cb.tar.gz
Merge pull request #106 from phmccarty/lib-symlinks
Fix installation of libopeniscsiusr symlinks
-rw-r--r--libopeniscsiusr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile
index deddf3f..bf7c96c 100644
--- a/libopeniscsiusr/Makefile
+++ b/libopeniscsiusr/Makefile
@@ -71,8 +71,8 @@ install: $(LIBS) $(LIBS_MAJOR)
$(INSTALL) -d $(DESTDIR)/$(LIB_DIR)/
$(INSTALL) -d $(DESTDIR)/$(INCLUDE_DIR)/
$(INSTALL) $(LIBS) $(DESTDIR)$(LIB_DIR)/
- $(INSTALL) $(DEVLIB) $(DESTDIR)$(LIB_DIR)/
- $(INSTALL) $(LIBS_MAJOR) $(DESTDIR)$(LIB_DIR)/
+ ln -sf $(LIBS) $(DESTDIR)/$(LIB_DIR)/$(DEVLIB)
+ ln -sf $(LIBS) $(DESTDIR)/$(LIB_DIR)/$(LIBS_MAJOR)
$(INSTALL) $(HEADERS) $(DESTDIR)$(INCLUDE_DIR)/
$(INSTALL) -m 644 -D $(PKGFILE).in $(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
perl -i -pe 's|__VERSION__|$(LIBNVME_VERSION)|g' \