| @@ -30,13 +30,22 @@ Platform specific processing: | | | @@ -30,13 +30,22 @@ Platform specific processing: |
30 | - All platforms but Darwin have _USE_RPATH=yes. Shouldn't Darwin just | | 30 | - All platforms but Darwin have _USE_RPATH=yes. Shouldn't Darwin just |
31 | filter out the rpath rules in a platform specific transformation phase? | | 31 | filter out the rpath rules in a platform specific transformation phase? |
32 | | | 32 | |
33 | Transform: | | 33 | Transform: |
34 | | | 34 | |
35 | - opt:foo:bar: Replace all options matching foo with bar. foo might be | | 35 | - opt:foo:bar: Replace all options matching foo with bar. foo might be |
36 | fnmatch expression. Earlier than other transformations. If bar is empty, | | 36 | fnmatch expression. Earlier than other transformations. If bar is empty, |
37 | option is dropped. | | 37 | option is dropped. |
38 | | | 38 | |
39 | Libtool: | | 39 | Libtool: |
40 | | | 40 | |
41 | - Drop -L, -l, -Wl,* if not in link mode | | 41 | - Drop -L, -l, -Wl,* if not in link mode |
42 | -> see first point | | 42 | -> see first point |
| | | 43 | |
| | | 44 | rpath aggregation: |
| | | 45 | |
| | | 46 | - OSF1 and HP-UX ld(1) do not support multiple -rpath or +b. Any such instances |
| | | 47 | need to be transformed to a colon-separated list. Example: |
| | | 48 | |
| | | 49 | -Wl,-rpath -Wl,/dir1 -Wl,-rpath -Wl,/dir2 --> -Wl,+b -Wl,/dir1:/dir2 |
| | | 50 | |
| | | 51 | See cmd-sink-{hpux,osf1}-{ld,cc} in classic wrappers for more information. |