ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] help libtool
@ 2009-03-06  9:28 Denis Kuznetsov
  2009-03-06 10:48 ` Damir Shayhutdinov
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Kuznetsov @ 2009-03-06  9:28 UTC (permalink / raw)
  To: ALT Linux Team development discussions

доброго времени суток!
Суть проблемы:
При запуске libtool:
builder@home rlm_eap]$ libtool --tag=CC --mode=link x86_64-alt-linux-gcc  \
	-o radeapclient radeapclient.lo \
	libeap/libfreeradius-eap.la \ 
	-lnsl -lresolv  -lpthread -lcrypto -lssl -lcrypto -lssl 2> /dev/null
Получается вызов:
x86_64-alt-linux-gcc -o .libs/radeapclient .libs/radeapclient.o  
libeap/.libs/libfreeradius-eap.so -lnsl -lresolv -lpthread -lcrypto -lssl   -Wl,--rpath -Wl,/usr/lib64/freeradius
В результате по причине включеного --as-need по умолчанию линкер не видит 
библиотек. -Wl,--no-as-need ситуацию спасает но убивает кошерность :( поэтому 
сего костыля не хочу. 
Собственно вопрос что можно сказать libtool что-бы он не пытался 
впереть  -Wl,--rpath -Wl,/usr/lib64/freeradius в конце строки запуска gcc, 
или в идеале правильно размещал эти параметры, т.е. до -llib ? 

За ранее спасибо.
Понимаю что я чайник.
-- 
Denis Kuznetsov

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-06 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-06  9:28 [devel] help libtool Denis Kuznetsov
2009-03-06 10:48 ` Damir Shayhutdinov
2009-03-06 12:03   ` Denis Kuznetsov
2009-03-06 12:10     ` Damir Shayhutdinov
2009-03-06 12:26       ` Denis Kuznetsov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git