aboutsummaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.osf
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefiles/Makefile.osf')
-rw-r--r--src/makefiles/Makefile.osf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.osf b/src/makefiles/Makefile.osf
index 957f27a54e8..31822fd79d3 100644
--- a/src/makefiles/Makefile.osf
+++ b/src/makefiles/Makefile.osf
@@ -3,6 +3,7 @@ DLSUFFIX = .so
CFLAGS_SL =
rpath = -rpath '$(rpathdir)'
+# Rule for building a shared library from a single .o file
%.so: %.o
$(LD) -shared -expect_unresolved '*' -o $@ $<