opnsense-ports/devel/pystring/files/patch-Makefile
Franco Fichtner eb6042d4fc */*: sync with upstream
Taken from: HardenedBSD
2020-09-25 15:04:32 +02:00

15 lines
598 B
Text

--- Makefile.orig 2012-10-16 21:31:17 UTC
+++ Makefile
@@ -9,10 +9,10 @@ pystring.lo: pystring.h pystring.cpp
$(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) -c pystring.cpp
libpystring.la: pystring.lo
- $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR)
+ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o libpystring.la pystring.lo -rpath $(LIBDIR)
install: libpystring.la
- $(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$<
+ $(LIBTOOL) --mode=install install -c libpystring.la $(LIBDIR)/libpystring.la
clean:
$(RM) -fr pystring.lo pystring.o libpystring.la .libs