opnsense-ports/devel/xparam/files/patch-examples__calculator__Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

15 lines
519 B
Text

--- examples/calculator/Makefile.in.orig Sat Oct 26 09:45:35 2002
+++ examples/calculator/Makefile.in Sat Dec 21 14:10:40 2002
@@ -17,10 +17,10 @@
$(CXX) -c -o $@ $<
sobj/mathfunc.so : $(SLOBJECTS)
- libtool $(CXX) -shared $^ -lxparam -o $@
+ libtool --mode=link $(CXX) -shared $^ -lxparam -o $@
$(SLOBJECTS) : obj/%.lo : src/%.cpp include/mathfunc.h include/functions.h
- libtool $(CXX) -c -o $@ $<
+ libtool --mode=compile $(CXX) -c -o $@ $<
clean :
-rm -f $(TARGETS) $(OBJECTS) $(SOBJECTS) $(SLOBJECTS)