summaryrefslogtreecommitdiff
path: root/cpp/RPMTools.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/RPMTools.py')
-rw-r--r--cpp/RPMTools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/RPMTools.py b/cpp/RPMTools.py
index 0d1432d6a5c..a3a5470e502 100644
--- a/cpp/RPMTools.py
+++ b/cpp/RPMTools.py
@@ -695,6 +695,7 @@ cd $RPM_BUILD_DIR/php-5.1.4
cp Makefile Makefile.tmp
echo "EXTRA_CXXFLAGS= -DCOMPILE_DL_ICE" > Makefile
cat Makefile.tmp >> Makefile
+sed -i -e '/^ICE_SHARED_LIBADD/d' Makefile
if test "$RPM_ARCH" == "x86_64";
then
sed -i -e 's/Ice-%{version}\/lib/Ice-%{version}\/lib64/g' Makefile ;