From 18660030cc4fc5f728d1e6596fc5f4524385956f Mon Sep 17 00:00:00 2001 From: Michael Schloh von Bennewitz Date: Thu, 9 Dec 2004 15:18:57 +0000 Subject: [PATCH] correct static linking logic in build configuration on SVR5 (ELF binary standard) platforms --- ethereal/ethereal.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ethereal/ethereal.spec b/ethereal/ethereal.spec index 8a82c54adc..12556ff50c 100644 --- a/ethereal/ethereal.spec +++ b/ethereal/ethereal.spec @@ -34,7 +34,7 @@ Class: EVAL Group: Network License: GPL Version: 0.10.7 -Release: 20041023 +Release: 20041209 # package options %option with_zlib yes @@ -93,6 +93,11 @@ AutoReqProv: no %prep %setup -q %patch -p0 + %{l_shtool} subst \ + -e 's;-Wl,-static *;;g' \ + -e 's;-all-static *;;g' \ + -e 's;-static *;;g' \ + Makefile.in %build CC="%{l_cc}" \ @@ -135,7 +140,7 @@ AutoReqProv: no %endif --without-krb5 \ --disable-shared \ - --disable-static \ + --enable-static \ --disable-ipv6 %{l_make} %{l_mflags}