discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

adding a flag for the linker in a certain order


From: Dan Hitt
Subject: adding a flag for the linker in a certain order
Date: Wed, 26 Sep 2012 13:49:35 -0700

I'm building a command line program (using tool.make) and
i need to add a library.

I understand from the internet that in order to add a flag for
the linker i use
   ADDITIONAL_LDFLAGS=-lblahblahblah

By using "make messages=yes" i can verify that indeed the
extra library is getting added.

But it is getting added to the front of the list, while it needs
to be added to the end of the list in order to get all the
symbols resolved.  (If i manually form the command by
moving the library from the first place on the list to the
last place i have verified that all symbols indeed resolve
if the library is placed last.)

So . . . what should i do to get my linker argument to the
end of the list?

Thanks in advance for any clues or pointers.

dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]