[med-svn] [Git][med-team/mothur][master] Fix linking

Andreas Tille (@tille) gitlab at salsa.debian.org
Mon Oct 25 15:40:01 BST 2021



Andreas Tille pushed to branch master at Debian Med / mothur


Commits:
ff892854 by Andreas Tille at 2021-10-25T16:09:56+02:00
Fix linking

- - - - -


1 changed file:

- debian/patches/c++14.patch


Changes:

=====================================
debian/patches/c++14.patch
=====================================
@@ -12,10 +12,14 @@ Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984243#33
  LDFLAGS = -g
  
  #
-@@ -26,4 +26,4 @@ install : uchime
+@@ -6,8 +6,8 @@ LDFLAGS = -g
+ #
+     OBJECTS=$(patsubst %.cpp,%.o,$(wildcard $(addsuffix *.cpp,$(subdirs))))
+     OBJECTS+=$(patsubst %.c,%.o,$(wildcard $(addsuffix *.c,$(subdirs))))
+-    OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
+-    OBJECTS+=$(patsubst %.c,%.o,$(wildcard *.c))
++    OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard source/*.cpp))
++    OBJECTS+=$(patsubst %.c,%.o,$(wildcard source/*.c))
  
- clean :
- 	@rm -f $(OBJECTS)
--	
-\ No newline at end of file
-+	
+ uchime : $(OBJECTS)
+ 	$(CXX) $(LDFLAGS) $(TARGET_ARCH) -o $@ $(OBJECTS) $(LIBS)



View it on GitLab: https://salsa.debian.org/med-team/mothur/-/commit/ff8928540e0d720b8a08ee4227c1bbadc2c1e733

-- 
View it on GitLab: https://salsa.debian.org/med-team/mothur/-/commit/ff8928540e0d720b8a08ee4227c1bbadc2c1e733
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211025/2585e9af/attachment.htm>


More information about the debian-med-commit mailing list