From: Elan Ruusamäe Date: Sun, 25 Sep 2011 10:22:31 +0000 (+0000) Subject: - ppp-watch linking hack X-Git-Tag: auto/th/rc-scripts-0_4_5-1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=2dac2d5cfd3cc387d87ec9e547301d099699a210;p=packages%2Frc-scripts.git - ppp-watch linking hack Changed files: rc-scripts.spec -> 1.369 --- diff --git a/rc-scripts.spec b/rc-scripts.spec index 31cdc36..e07ca9c 100644 --- a/rc-scripts.spec +++ b/rc-scripts.spec @@ -9,7 +9,7 @@ Summary(pl.UTF-8): inittab i skrypty startowe z katalogu /etc/rc.d Summary(tr.UTF-8): inittab ve /etc/rc.d dosyaları Name: rc-scripts Version: 0.4.5 -Release: 0.6 +Release: 1 License: GPL v2 Group: Base #Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz @@ -113,6 +113,10 @@ programcıklar içerir. %prep %setup -q +# hack, currently this results -lgcc_s not found error: +#GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic" +sed -i -e 's#^GLIB_LIBS=.*#GLIB_LIBS="%{_prefix}/%{_lib}/libglib-2.0.a %{_prefix}/%{_lib}/librt.a"#' configure.ac + %build %{__aclocal} %{__autoheader}