opnsense-ports/math/dsdp/files/patch-Makefile
Franco Fichtner fa9c00a6f4 */*: sync with upstream
Taken from: FreeBSD
2023-11-02 12:44:20 +01:00

14 lines
374 B
Text

--- 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}
+ $(SH_LD) $(LDFLAGS) -llapack -lblas -lm *.o -o ${DSDPLIBSO}; \
cd ../ ; \
${RM} tmp