aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-rw-r--r--driver/Driver.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml
index fec87420..fb0124ac 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -476,8 +476,9 @@ let cmdline_actions =
push_action process_S_file s; incr num_source_files);
Suffix ".o", Self push_linker_arg;
Suffix ".a", Self push_linker_arg;
- (* GCC compatibility: .o.ext files are also object files *)
+ (* GCC compatibility: .o.ext files and .so files are also object files *)
_Regexp ".*\\.o\\.", Self push_linker_arg;
+ Suffix ".so", Self push_linker_arg;
(* GCC compatibility: .h files can be preprocessed with -E *)
Suffix ".h", Self (fun s ->
push_action process_h_file s; incr num_source_files);