| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0004741 | OCaml | OCaml general | public | 2009-03-09 15:46 | 2010-04-28 14:10 |
|
| Reporter | pogma | |
| Assigned To | xleroy | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | 3.11.0 | |
| Target Version | | Fixed in Version | 3.12.0+dev | |
|
| Summary | 0004741: utils/ccomp.ml orders -l flags before -L flags |
| Description | When building unison with Ocaml-3.11.0 and lablgtk-2.12.0 we saw build failures on solaris because it output, for example "-lpixman ... -L/opt/TWWfsw/libcairo16/lib" resulting in ld complaining that it could not find libpixman.so (there were other libraries listed in the failure too).
This small patch fixed it for us. |
| Tags | No tags attached. |
|
| Attached Files | ocaml-ccomp.diff [^] (553 bytes) 2009-03-09 15:46 [Show Content] [Hide Content]Index: utils/ccomp.ml
===================================================================
--- utils/ccomp.ml.orig 2009-03-06 15:15:36.000000000 +0000
+++ utils/ccomp.ml 2009-03-06 15:16:16.476505852 +0000
@@ -120,8 +120,8 @@
(if !Clflags.gprofile then Config.cc_profile else "")
"" (*(Clflags.std_include_flag "-I")*)
(quote_prefixed "-L" !Config.load_path)
+ (String.concat " " (List.rev !Clflags.ccopts))
files
extra
- (String.concat " " (List.rev !Clflags.ccopts))
in
command cmd = 0
|
|