- Notifications
You must be signed in to change notification settings - Fork5
Commit16e9487
committed
|> The Makefile.shlib changes will have to be discussed with other Linux
|> developers so we are sure it will work on all platforms.The problem with the current settings is that the linker is calleddirectly. This is wrong, it should always be called through thecompilerdriver (the only exception is `ld -r'). This will make sure that thenecessary libraries like libgcc are linked in.But there is still a different problem with the setting of LDFLAGS_ODBC.The psqlodbc module defines the functions _init and _fini which arereserved for the shared library initialisation. These should be changedto constructor functions. Then LDFLAGS_ODBC can be changed to be just`-lm'. Btw, why does it use -Bsymbolic?Andreas Schwab1 parentd800532 commit16e9487
2 files changed
+18
-6
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
147 |
| - | |
148 |
| - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
|
Lines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
37 |
| - | |
38 | 36 |
| |
39 | 37 |
| |
40 | 38 |
| |
| |||
97 | 95 |
| |
98 | 96 |
| |
99 | 97 |
| |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
100 | 112 |
| |
101 | 113 |
| |
102 | 114 |
| |
|
0 commit comments
Comments
(0)