aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-06-29 18:56:54 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-30 12:37:58 +0200
commita64936a63283edb811f8e373a32f2d07d05f5172 (patch)
tree0f4f0801d9f81bb366c3d3447edb0ec40f776624
parent314ec41b8e26ba6d161f0a47d08ce5f239d9bb1c (diff)
downloadnx-libs-a64936a63283edb811f8e373a32f2d07d05f5172.tar.gz
nx-libs-a64936a63283edb811f8e373a32f2d07d05f5172.tar.bz2
nx-libs-a64936a63283edb811f8e373a32f2d07d05f5172.zip
Makefile: start replace.sh with relative path
Fixes ArcticaProject/nx-libs#1071
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9a08e08e2..2c3af4c92 100644
--- a/Makefile
+++ b/Makefile
@@ -261,7 +261,7 @@ install-full:
cp -aL nx-X11/exports/include/* nx-X11/.build-exports/include
# copy libs (for libnx-x11), we want the targets of the links
- . replace.sh; set -x; find nx-X11/exports/lib/ -name "libNX*.so" | while read libpath; do \
+ . ./replace.sh; set -x; find nx-X11/exports/lib/ -name "libNX*.so" | while read libpath; do \
libfile=$$(basename $$libpath); \
libdir=$$(dirname $$libpath); \
link=$$(readlink $$libpath); \
@@ -275,7 +275,7 @@ install-full:
$(INSTALL_SYMLINK) ../../libNX_X11.so.6 $(DESTDIR)$(USRLIBDIR)/libX11.so.6
$(INSTALL_SYMLINK) ../../libNX_X11.so.6.3.0 $(DESTDIR)$(USRLIBDIR)/libX11.so.6.3.0
- . replace.sh; set -x; find nx-X11/.build-exports/include/{nx*,GL} -type d | \
+ . ./replace.sh; set -x; find nx-X11/.build-exports/include/{nx*,GL} -type d | \
while read dirname; do \
$(INSTALL_DIR) "$$(string_rep "$$dirname" nx-X11/.build-exports/include "$(DESTDIR)$(INCLUDEDIR)/")"; \
$(INSTALL_FILE) $${dirname}/*.h \