| From: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> |
|---|---|
| To: | <pgsql-patches(at)postgresql(dot)org> |
| Cc: | <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <RoccoA(at)Routescape(dot)com> |
| Subject: | Re: Dynamic linking on AIX |
| Date: | 2006-09-19 13:30:26 |
| Message-ID: | 52EF20B2E3209443BC37736D00C3C1380A6E7917@EXADV1.host.magwien.gv.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
This is a second try; this patch replaces
http://archives.postgresql.org/pgsql-patches/2006-09/msg00185.php
Incorporated are
- Tom Lane's suggestions for a more sane approach at
fixing Makefile.shlib
- Rocco Altier's additions to make the regression test run
by setting LIBPATH appropriately.
- Two changes in /src/interfaces/ecpg/test/Makefile.regress
and src/interfaces/ecpg/test/compat_informix/Makefile
without which 'make' fails if configure was called
with --disable-shared (this is not AIX-specific).
The line in src/makefiles/Makefile.aix
where I set 'libpath' also seems pretty ugly to me.
Do you have a better idea?
Basically I need to convert LDFLAGS like:
-L../../dir -L /extra/lib -lalib -Wl,yxz -L/more/libs
to
:/extra/lib:/more/libs
and couldn't think of a better way to do it.
It will fail if there is a -L path that contains
a blank :^(
Yours,
Laurenz Albe
| Attachment | Content-Type | Size |
|---|---|---|
| aixlink2.patch | application/octet-stream | 6.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gevik Babakhani | 2006-09-19 13:35:55 | Re: [PATCHES] Patch for UUID datatype (beta) |
| Previous Message | Jim C. Nasby | 2006-09-19 13:20:13 | Re: [HACKERS] Patch for UUID datatype (beta) |