summarylogtreecommitdiffstats
path: root/OpenCTM-1.0.3.patch
blob: 63ca20fa08c9ed8fe68aab208da8f331af17d107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --unified --recursive --text OpenCTM-1.0.3.orig/tools/Makefile.linux OpenCTM-1.0.3.new/tools/Makefile.linux
--- OpenCTM-1.0.3.orig/tools/Makefile.linux	2021-06-26 12:48:16.415386271 -0300
+++ OpenCTM-1.0.3.new/tools/Makefile.linux	2021-06-26 12:49:07.345386873 -0300
@@ -56,7 +56,7 @@
 	$(CPP) -s -o $@ -L$(OPENCTMDIR) -L$(TINYXMLDIR) $(CTMCONVOBJS) -Wl,-rpath,. -lopenctm -ltinyxml
 
 ctmviewer: $(CTMVIEWEROBJS) $(JPEGDIR)/libjpeg.a $(TINYXMLDIR)/libtinyxml.a $(ZLIBDIR)/libz.a libopenctm.so
-	$(CPP) -s -o $@ -L$(OPENCTMDIR) -L$(TINYXMLDIR) -L$(JPEGDIR) -L$(ZLIBDIR) $(CTMVIEWEROBJS) -Wl,-rpath,. -lopenctm -ltinyxml -ljpeg -lz -lglut `pkg-config --libs gtk+-2.0`
+	$(CPP) -s -o $@ -L$(OPENCTMDIR) -L$(TINYXMLDIR) -L$(JPEGDIR) -L$(ZLIBDIR) $(CTMVIEWEROBJS) -Wl,-rpath,. -lopenctm -lGL -lGLU -ltinyxml -ljpeg -lz -lglut `pkg-config --libs gtk+-2.0`
 
 ctmbench: $(CTMBENCHOBJS) libopenctm.so
 	$(CPP) -s -o $@ -L$(OPENCTMDIR) $(CTMBENCHOBJS) -Wl,-rpath,. -lopenctm