Small change in link order

Started by Magnus Haganderabout 22 years ago2 messagespatches
Jump to latest
#1Magnus Hagander
magnus@hagander.net

This patch changes the order of libraries on the link command when
linking things with pgport. This is required for win32 to build when
modules in libpgport refer to global variables in the backend (right
now, specifically path.c does this). And I don't see that it should
cause any problems on other platforms.

//Magnus

Attachments:

linkorder.patchapplication/octet-stream; name=linkorder.patchDownload+2-2
#2Bruce Momjian
bruce@momjian.us
In reply to: Magnus Hagander (#1)
Re: Small change in link order

Patch applied. Thanks.

---------------------------------------------------------------------------

Magnus Hagander wrote:

This patch changes the order of libraries on the link command when
linking things with pgport. This is required for win32 to build when
modules in libpgport refer to global variables in the backend (right
now, specifically path.c does this). And I don't see that it should
cause any problems on other platforms.

//Magnus

Content-Description: linkorder.patch

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073