aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-02 19:38:08 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-02 19:38:08 +0100
commita9b145d466f774d0a6948a493df2e9c7bff50d6f (patch)
tree958448c5ba056ce63e0bb61703dea82fa0a9376b
parent1d1d1fc2199672c722dd75cefe8389268bfbbad3 (diff)
downloadnx-libs-a9b145d466f774d0a6948a493df2e9c7bff50d6f.tar.gz
nx-libs-a9b145d466f774d0a6948a493df2e9c7bff50d6f.tar.bz2
nx-libs-a9b145d466f774d0a6948a493df2e9c7bff50d6f.zip
Makefile: Make sure libNX_X11.so.6.2 does not get installed as symlink but as actual file. (Follow-up for 5a90a63).
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 177471a1a..11f8a7d9b 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,9 @@ install-full:
done;
$(INSTALL_DIR) $(DESTDIR)$(USRLIBDIR)
- $(COPY_SYMLINK) nx-X11/.build-exports/lib/*.so* $(DESTDIR)$(USRLIBDIR)/
+ $(COPY_SYMLINK) nx-X11/.build-exports/lib/libNX_X11.so $(DESTDIR)$(USRLIBDIR)/
+ $(COPY_SYMLINK) nx-X11/.build-exports/lib/libNX_X11.so.6 $(DESTDIR)$(USRLIBDIR)/
+ cd nx-X11/.build-exports/lib/ && $(INSTALL_FILE) `readlink libNX_X11.so.6.2` $(DESTDIR)$(USRLIBDIR)/
$(INSTALL_DIR) $(DESTDIR)$(USRLIBDIR)/nx-X11
$(INSTALL_SYMLINK) ../libNX_X11.so $(DESTDIR)$(USRLIBDIR)/nx-X11/libX11.so
$(INSTALL_SYMLINK) ../libNX_X11.so.6.2 $(DESTDIR)$(USRLIBDIR)/nx-X11/libX11.so.6.2