public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] LIBS vs LD_FLAGS in bluez-utils makefiles
@ 2004-05-20 13:56 Franck Arnaud
  2004-05-20 14:22 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Franck Arnaud @ 2004-05-20 13:56 UTC (permalink / raw)
  To: bluez-devel

Hello,

In bluez-utils's Makefile.am files, it usually says:

LDFLAGS = @BLUEZ_LIBS@

which fails when linking statically, apparently because it's too 
early in the command line ("gcc ... -l ... -o ... foo.o"). I don't 
think the lib description is a "flag" as intended for $LDFLAGS.

I replaced the above with 

$LIBS = @BLUEZ_LIBS@

so that -l is after the .o files, and linking now succeeds.



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [Bluez-devel] LIBS vs LD_FLAGS in bluez-utils makefiles
@ 2004-05-20 14:00 Franck Arnaud
  0 siblings, 0 replies; 5+ messages in thread
From: Franck Arnaud @ 2004-05-20 14:00 UTC (permalink / raw)
  To: bluez-devel

I wrote:

> $LIBS = @BLUEZ_LIBS@

Sorry, typo, this is without $:

LIBS = @BLUEZ_LIBS@



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <45540213.2004.5.20.21.35.29.45662@mem.nenie.org>]

end of thread, other threads:[~2004-05-21 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 13:56 [Bluez-devel] LIBS vs LD_FLAGS in bluez-utils makefiles Franck Arnaud
2004-05-20 14:22 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-05-20 14:00 Franck Arnaud
     [not found] <45540213.2004.5.20.21.35.29.45662@mem.nenie.org>
2004-05-21 15:53 ` Marcel Holtmann
2004-05-21 16:40   ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox