[singular] 01/03: fix libsingular SONAME once again.

felix salfelder felix-guest at moszumanska.debian.org
Tue May 20 06:39:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

felix-guest pushed a commit to branch master
in repository singular.

commit 87022d9841aaf5d3c8e5cb6bbcc88e3bc5dc3009
Author: Felix Salfelder <felix at salfelder.org>
Date:   Sun May 4 10:09:20 2014 +0200

    fix libsingular SONAME once again.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 436ce0e..248fce8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -196,6 +196,10 @@ build-stamp: configure-stamp
 	$(MAKE) LD='$(CXX) $(CXXFLAGS) -fPIC $(LDFLAGS)' \
 	           LIBSINGULAR_FLAGS='-shared -Wl,-soname,libsingular-$(VERSION).so $(CXXFLAGS) -fPIC $(LDFLAGS) -L../omalloc' \
 	           LD_DYN_FLAGS2='' DL_LIBSG='' GLIBC_DYN_FIX="-lc"
+	# the above command failed to build libsingular.so. let's try again
+	$(MAKE) -C Singular LD='$(CXX) $(CXXFLAGS) -fPIC $(LDFLAGS)' \
+	           LIBSINGULAR_FLAGS='-shared -Wl,-soname,libsingular-$(VERSION).so $(CXXFLAGS) -fPIC $(LDFLAGS) -L../omalloc' \
+	           LD_DYN_FLAGS2='' DL_LIBSG='' GLIBC_DYN_FIX="-lc" libsingular.so
 	# libparse is needed for doc-building ESingular and TSingular not built by "all".
 	# and the makefile here uses the wrong flags (only CPPFLAGS, not CXXFLAGS)
 	$(MAKE) -C Singular CPPFLAGS='-I. -I.. $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(PYTHON_INCLUDE)' libparse ESingular TSingular Singular

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git



More information about the debian-science-commits mailing list