aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-01 22:38:47 -0300
committerEuAndreh <eu@euandre.org>2021-03-01 22:38:47 -0300
commit7fb7cbd3e9098e5ae499ba3c2a4793ed4d9ce4f3 (patch)
tree92d40aed65f23c7f804cbc4aa3a959b88fc2357b
parentconfiguration.nix: Switch to msmtp from ssmtp (diff)
downloaddotfiles-7fb7cbd3e9098e5ae499ba3c2a4793ed4d9ce4f3.tar.gz
dotfiles-7fb7cbd3e9098e5ae499ba3c2a4793ed4d9ce4f3.tar.xz
fake-symlinks: Makefile: Add -rpath to LDFLAGS
-rw-r--r--sh/templates/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/templates/Makefile b/sh/templates/Makefile
index 65e3e69a..fde0daf3 100644
--- a/sh/templates/Makefile
+++ b/sh/templates/Makefile
@@ -1,7 +1,7 @@
.POSIX:
CC = c99
CFLAGS = -std=c99 -Wall -Wextra -Wpedantic -fPIC -g
-LDFLAGS =
+LDFLAGS = -Wl,-rpath,$$LIBRARY_PATH
LDLIBS =
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man