[PATCH] old Mac linker is picky about argument order - static libs l...

Christian Lohmaier (via Code Review) gerrit at gerrit.libreoffice.org
Wed Oct 3 20:17:28 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/759

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/59/759/1

old Mac linker is picky about argument order - static libs last

and also after stuff that references external symbols, as it only looks
for symbols it has encountered so far in the object files. Stuff that
comes after the specified library then results in symbols not found
despite the lib being on the commandline earlier.

(another solution than reordering the arguments would be to use
-Wl,-all_load)

Change-Id: If4add0d3f81b13874c1620406fa40fcbd25b7cf0
---
M solenv/gbuild/platform/macosx.mk
1 file changed, 3 insertions(+), 3 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/759
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If4add0d3f81b13874c1620406fa40fcbd25b7cf0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>



More information about the LibreOffice mailing list