view src/qrupdate-1-fixes.patch @ 2925:b17c700b7405

shared libraries for libmng
author John W. Eaton <jwe@octave.org>
date Tue, 18 Dec 2012 12:37:20 -0500
parents eb2f17fbd971
children e94cce61e308
line wrap: on
line source

diff -uNr a/Makeconf b/Makeconf
--- a/Makeconf	2010-01-19 06:35:49.000000000 -0500
+++ b/Makeconf	2012-11-28 14:58:55.778726522 -0500
@@ -5,6 +5,8 @@
 # set if you need shared library
 FPICFLAGS=-fPIC
 
+AR=ar
+
 # BLAS library (only required for tests)
 BLAS=-lblas
 # LAPACK library (only required for tests)
diff -uNr a/src/Makefile b/src/Makefile
--- a/src/Makefile	2010-01-19 06:35:49.000000000 -0500
+++ b/src/Makefile	2012-11-28 14:58:45.535085046 -0500
@@ -44,7 +44,7 @@
 solib: ../libqrupdate$(SOEXT)
 
 ../libqrupdate.a: $(OBJS)
-	ar -cr $@ $(OBJS)
+	$(AR) -cr $@ $(OBJS)
 
 ../libqrupdate.so: $(OBJS)
 	$(FC) $(FFLAGS) -shared -o $@ -Wl,-soname=libqrupdate.so.$(MAJOR) $(OBJS) \