Show
Ignore:
Timestamp:
02/24/04 09:55:47 (5 years ago)
Author:
warmerda
Message:

Fix to ensure that non-libtool, no-shared case still works in install.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/GNUmakefile

    r5850 r5886  
    157157else 
    158158 
     159ifeq ($(HAVE_LD_SHARED),yes) 
     160 
    159161GDAL_VER_MAJOR  =       $(firstword $(subst ., ,$(GDAL_VER))) 
    160162GDAL_SLIB_B     =       $(notdir $(GDAL_SLIB)) 
    161  
    162163 
    163164install-lib: 
     
    172173         ln -s $(GDAL_SLIB_B).$(GDAL_VER) $(GDAL_SLIB_B).$(GDAL_VER_MAJOR)) 
    173174 
    174 endif 
     175else 
     176 
     177install-lib: 
     178        $(INSTALL_DIR) $(INST_LIB) 
     179        $(INSTALL_LIB) $(GDAL_LIB) $(INST_LIB) 
     180 
     181endif # HAVE_LD_SHARED=no  
     182 
     183 
     184endif # HAVE_LIBTOOL=no