
The Makefile expects the "other" libtool, not the GNU libtool we have in Spack. Closes https://github.com/spack/spack/issues/26993 Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
17 lines
550 B
Diff
17 lines
550 B
Diff
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -80,10 +80,10 @@
|
|
@echo "--> Compilation of source files successful"
|
|
@echo
|
|
@rm -f $(PROG)
|
|
- $(LIBTOOL) $(LIBTOOLFLAGS) -o $(PROG) $(OBJS)
|
|
+# $(LIBTOOL) $(LIBTOOLFLAGS) -o $(PROG) $(OBJS)
|
|
# If you prefer to use libtool, uncomment the above line, and comment the two lines below (AR and RLIB)
|
|
-# $(AR) $(ARFLAGS) $(PROG) $(OBJS)
|
|
-# $(RLIB) $(RLIBFLAGS) $(PROG)
|
|
+ $(AR) $(ARFLAGS) $(PROG) $(OBJS)
|
|
+ $(RLIB) $(RLIBFLAGS) $(PROG)
|
|
@echo
|
|
@echo "--> Creation of static library successful"
|
|
# @rm -f $(OBJS)
|