summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.osf
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-27 23:59:39 +0000
committerPeter Eisentraut2000-10-27 23:59:39 +0000
commit6707ede8134a3809409364f3cd3d0c6ca2bbfb7d (patch)
tree66fe6873489f5999d5d0bf2c1fc553b3e1f25ec3 /src/makefiles/Makefile.osf
parent81024e7d80827620ba4d71e3b5440f8cb43d2652 (diff)
Make use of system-specific linker option to embed shared library search
path into executables and shared libraries (-rpath or -R for most). Can be disabled with --disable-rpath, since some binary packaging standards do not like this option.
Diffstat (limited to 'src/makefiles/Makefile.osf')
-rw-r--r--src/makefiles/Makefile.osf3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.osf b/src/makefiles/Makefile.osf
index 23156edc9d8..2bf0cfe249e 100644
--- a/src/makefiles/Makefile.osf
+++ b/src/makefiles/Makefile.osf
@@ -1,8 +1,7 @@
AROPT = crs
DLSUFFIX = .so
CFLAGS_SL =
+rpath = -rpath $(libdir)
%.so: %.o
$(LD) -shared -expect_unresolved '*' -o $@ $<
-
-LDFLAGS += -rpath $(libdir)