From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] static
Date: Tue, 23 Dec 2003 09:17:27 +0300
Message-ID: <20031223061727.GE27085@inferno.immo> (raw)
In-Reply-To: <20031222085333.GX27085@inferno.immo>
[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]
* Alexey I. Froloff <raorn@immo.ru> [031222 12:03]:
> В общем отрепортил я всё это на OFTC/#quakeforge, taniwha сказал,
> что кажется нашёл в чём бага. Есть мнение, что в ближайшее время
> на cvs будет исправление.
JFI: В cvs исправлено... Проблема была в следующем:
Библиотеки, которые не устанавливаются (noinst_LTLIBRARIES),
всегда собираются статически. Если libtool'у передаётся флаг
-static и сборка статических библиотек запрещена
(--disable-static), такие библиотеки получаются пустыми (что мы и
наблюдали). В cvs испралено следующим образом:
configure.ac:
fi fi
+ if test "x$enable_static" = xno; then
+ STATIC=
+ else
+ STATIC=-static
+ fi
AC_SUBST(PREFER_PIC) AC_SUBST(PREFER_PIC)
AC_SUBST(PREFER_NON_PIC) AC_SUBST(PREFER_NON_PIC)
+AC_SUBST(STATIC)
Makefile.am:
libnet_chan_la_LIBADD= nc/libnc.la
-libnet_chan_la_LDFLAGS= -static
+libnet_chan_la_LDFLAGS= @STATIC@
libnet_chan_la_SOURCES= net_chan.c
--
Regards, Sir Raorn.
-------------------
Как там с качеством кода?
-- ldv in devel@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2003-12-23 6:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-21 14:12 Alexey I. Froloff
2003-12-21 15:44 ` Alexey Voinov
2003-12-21 15:57 ` Alexey I. Froloff
2003-12-21 16:53 ` Alexey Voinov
2003-12-22 8:53 ` Alexey I. Froloff
2003-12-23 6:17 ` Alexey I. Froloff [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031223061727.GE27085@inferno.immo \
--to=raorn@immo.ru \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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