Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing link flags to c_test #1274

Merged
merged 2 commits into from
Sep 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
next
----

- Enrich the `dune` Emacs mode with syntax highlighting and
indentation. New file `dune-flymake` to provide a hook
`dune-flymake-dune-mode-hook` to enable linting of dune files.
- Enrich the `dune` Emacs mode with syntax highlighting and indentation. New
file `dune-flymake` to provide a hook `dune-flymake-dune-mode-hook` to enable
linting of dune files.

- Pass `link_flags` to `cc` when compiling with `Configurator.V1.c_test` (#1274,
@rgrinberg)

1.2.0 (14/09/2018)
------------------
Expand Down
1 change: 1 addition & 0 deletions src/configurator/v1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ let compile_and_link_c_prog t ?(c_flags=[]) ?(link_flags=[]) code =
; "-o" ; exe_fname
; c_fname
]
; link_flags
])
in
if ok then Ok () else Error ()
Expand Down