summaryrefslogtreecommitdiff
path: root/math/dsdp/files/patch-Makefile
blob: 9d1d131f58f7cb2a1e1d9f1e64e8cc12d9a195ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Makefile.orig	2005-10-21 19:31:14 UTC
+++ Makefile
@@ -53,8 +53,8 @@ oshared: 
 	-@${RM} tmp; \
 	mkdir tmp; \
 	cd tmp; \
-	echo "building ${DSDPLIBSO}"; \
-	${AR} x ${DSDPLIB} ;\
-	${SH_LD} ${DSDPLIBSO} *.o -o ${DSDPLIBSO}; \
+	echo "building ${DSDPLIBSO}"
+	${AR} x ${DSDPLIB}
+	$(CC) -shared $(LDFLAGS) -llapack -lblas -lm *.o -o ${DSDPLIBSO}; \
 	cd ../ ; \
 	${RM} tmp