- Notifications
You must be signed in to change notification settings - Fork28
Commitf9dead5
committed
Install shared libraries to bin/ in Windows under MSVC
Since commitcb4a3b0 we were already doing this for the Cygwin/mingwtoolchains, but MSVC had not been updated to do it. At Install.pm time,the Makefile (or GNUmakefile) is inspected, and if a line matchingSO_MAJOR_VERSION is found (indicating a shared library is being built),then files with the .dll extension are set to be installed in bin/rather than lib/, while files with .lib extension are installed in lib/.This makes the MSVC toolchain up to date with cygwin/mingw.This removes ad-hoc hacks that were copying files into bin/ or lib/manually (libpq.dll in particular was already being copied into bin).So while this is a rather ugly kludge, it's still cleaner than what wasthere before.Author: Michael PaquierReviewed by: Asif Naeem1 parentb8d226b commitf9dead5
1 file changed
+57
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 108 | + | |
| 109 | + | |
117 | 110 | | |
118 | 111 | | |
119 | 112 | | |
| |||
236 | 229 | | |
237 | 230 | | |
238 | 231 | | |
239 | | - | |
240 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
241 | 240 | | |
242 | 241 | | |
243 | 242 | | |
| |||
247 | 246 | | |
248 | 247 | | |
249 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
250 | 268 | | |
251 | 269 | | |
252 | 270 | | |
253 | 271 | | |
254 | | - | |
255 | | - | |
| 272 | + | |
256 | 273 | | |
257 | 274 | | |
258 | 275 | | |
259 | | - | |
260 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
261 | 282 | | |
262 | 283 | | |
263 | 284 | | |
264 | 285 | | |
265 | | - | |
| 286 | + | |
| 287 | + | |
266 | 288 | | |
267 | 289 | | |
268 | 290 | | |
| |||
271 | 293 | | |
272 | 294 | | |
273 | 295 | | |
274 | | - | |
275 | | - | |
| 296 | + | |
276 | 297 | | |
277 | 298 | | |
278 | 299 | | |
279 | | - | |
280 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
281 | 306 | | |
282 | 307 | | |
283 | 308 | | |
284 | | - | |
285 | | - | |
| 309 | + | |
| 310 | + | |
286 | 311 | | |
287 | 312 | | |
288 | 313 | | |
289 | 314 | | |
290 | 315 | | |
291 | 316 | | |
292 | 317 | | |
293 | | - | |
294 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
295 | 328 | | |
296 | 329 | | |
297 | 330 | | |
| |||
0 commit comments
Comments
(0)