summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-09-27 12:18:33 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-09-27 12:31:56 +0200
commit8b6df3a7556a1764c5ce46a71835bfce4be69f51 (patch)
treecaf64f8770c7ff36a459add4ebf88b2b2df0e5ef /configure
parent99878e48391664764248534e1f59173feff0955f (diff)
downloadocaml-8b6df3a7556a1764c5ce46a71835bfce4be69f51.tar.gz
Fix build of ocamlrund and ocamlruni under Unix
Because of previous commits these programs were not using LDFLAGS when built under Linux. This commit fixes this.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6ed1783c11..a2de486e02 100755
--- a/configure
+++ b/configure
@@ -388,7 +388,7 @@ esac
# in the OCaml distribution and third-party C source files compiled
# with ocamlc.
-mkexe="\$(CC) \$(CFLAGS) \$(CPPFLAGS)"
+mkexe="\$(CC) \$(CFLAGS) \$(CPPFLAGS) \$(LDFLAGS)"
mkexedebugflag="-g"
common_cflags=""
common_cppflags=""