forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite48322a
committed
Be more aggressive about adding flags to thread compiles. The configure
test only tests for building a binary, not building a shared library.On Linux, you can build a binary with -pthread, but you can't build abinary that uses a threaded shared library unless you also use -pthreadwhen building the binary, or adding -lpthread to the shared librarybuild. This patch has the effect of doing the later by adding both-pthread and -lpthread when building libpq.1 parent19f1370 commite48322a
1 file changed
+14
-9
lines changedLines changed: 14 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
| 97 | + | |
96 | 98 |
| |
97 | 99 |
| |
98 |
| - | |
99 |
| - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 |
| |
101 | 104 |
| |
102 | 105 |
| |
103 | 106 |
| |
104 |
| - | |
| 107 | + | |
105 | 108 |
| |
106 | 109 |
| |
107 | 110 |
| |
108 | 111 |
| |
109 | 112 |
| |
110 |
| - | |
111 |
| - | |
| 113 | + | |
| 114 | + | |
112 | 115 |
| |
113 | 116 |
| |
114 | 117 |
| |
| |||
130 | 133 |
| |
131 | 134 |
| |
132 | 135 |
| |
133 |
| - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
134 | 141 |
| |
135 | 142 |
| |
136 |
| - | |
137 |
| - | |
138 | 143 |
| |
139 | 144 |
| |
140 | 145 |
| |
|
0 commit comments
Comments
(0)