From b794ae2f4cc9d35f34efb1d9943d90b7b0e0c933 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 14 Jun 2002 08:05:23 +0000 Subject: [PATCH] Add a note about why we actually use CC here, rather than SHLIBLD, to link shared libs. git-svn-id: https://svn.dealii.org/trunk@6113 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/contrib/hsl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deal.II/contrib/hsl/Makefile b/deal.II/contrib/hsl/Makefile index 8d29a1208d..18c958305a 100644 --- a/deal.II/contrib/hsl/Makefile +++ b/deal.II/contrib/hsl/Makefile @@ -37,6 +37,8 @@ $(LIBDIR)/libhsl.a: $(forward-declarations) $(o-files) @echo =====base=============optimized==$(MT)== Linking library: $@ @ar ruv $@ $(o-files) +# link the object files to a shared library. since this is not C++, +# simply use the C compiler, rather than $(SHLIBLD) $(LIBDIR)/libhsl.so: $(forward-declarations) $(o-files) @echo =====base=============optimized==$(MT)== Linking library: $@ @$(CC) $(LDFLAGS) -shared -o $@ $(o-files) -- 2.39.5