From c0175add066cbd4ed3988de1f4f70f615f13f877 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 17 Jan 2002 23:43:49 +0000 Subject: Fix no-OpenGL install bug. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 75a2d7186..ca3d76de6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile,v 1.18.2.14.2.31 2002/01/15 02:17:19 easysw Exp $" +# "$Id: Makefile,v 1.18.2.14.2.32 2002/01/17 23:43:49 easysw Exp $" # # Library makefile for the Fast Light Tool Kit (FLTK). # @@ -287,7 +287,9 @@ install: $(LIBNAME) $(DSONAME) $(GLLIBNAME) $(GLDSONAME) rm -f $(libdir)/$(LIBNAME) -cp $(LIBNAME) $(GLLIBNAME) $(libdir) $(RANLIB) $(libdir)/$(LIBNAME) - $(RANLIB) $(libdir)/$(GLLIBNAME) + if test x$(GLLIBNAME) != x; then \ + $(RANLIB) $(libdir)/$(GLLIBNAME); \ + fi if test x$(DSONAME) = xlibfltk.so.1.1; then\ rm -f $(libdir)/libfltk.so*;\ cp libfltk.so.1.1 $(libdir); \ @@ -351,5 +353,5 @@ uninstall: # -# End of "$Id: Makefile,v 1.18.2.14.2.31 2002/01/15 02:17:19 easysw Exp $". +# End of "$Id: Makefile,v 1.18.2.14.2.32 2002/01/17 23:43:49 easysw Exp $". # -- cgit v1.2.3