summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-01-16 09:01:45 -0300
committerEuAndreh <eu@euandre.org>2025-01-16 09:01:45 -0300
commitacb156ddfec1e41bdbb999cc431b5318a6df7993 (patch)
tree76293955a48616b0a90b2f867745107383e81605
parentRevert "Makefile: Use lddeps(1) for library dependencies" (diff)
downloadscrypt-acb156ddfec1e41bdbb999cc431b5318a6df7993.tar.gz
scrypt-acb156ddfec1e41bdbb999cc431b5318a6df7993.tar.xz
Makefile: keep symlinks in "install" target
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9dd7dad..566a544 100644
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,7 @@ install: all
cp $(NAME).bin '$(DESTDIR)$(BINDIR)'/$(NAME)
cp src/$(NAME).a '$(DESTDIR)$(GOLIBDIR)'
- cp $(sources) '$(DESTDIR)$(SRCDIR)'
+ cp -P $(sources) '$(DESTDIR)$(SRCDIR)'
## Uninstalls from $(DESTDIR)$(PREFIX). This is a perfect mirror
## of the "install" target, and removes *all* that was installed.