Changeset 26679

Show
Ignore:
Timestamp:
10.01.2013 17:43:55 (6 years ago)
Author:
davidb
Message:

When testing the mingw cross-compiler changes, compiling 'getpw' ran in to some difficulties. While it would be nice to have both the host unix and cross-compile hosted by unix using the exact same code to implement crypt()/getpass() for now the decision has been made to allow the Unix compile to work as before (getting these functions from standard libraries) and for the mingw one to use the extra files supplied in this folder

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/getpw/Makefile.in

    r26648 r26679  
    5656 
    5757SOURCES = \ 
    58     getpw.cpp crypt.c crypt_util.c getpass.c 
     58    getpw.cpp 
     59 
     60ifeq ($(GSDLOS),windows) 
     61  # e.g. we are cross-compiling with mingw under Linux 
     62  SOURCES += crypt.c crypt_util.c getpass.c 
     63endif 
    5964 
    6065OBJECTS = \ 
    61     getpw.o crypt.o crypt_util.o getpass.o 
     66    getpw.o 
     67 
     68ifeq ($(GSDLOS),windows) 
     69  # e.g. we are cross-compiling with mingw under Linux 
     70  OBJECTS += crypt.o crypt_util.o getpass.o 
     71endif 
    6272 
    6373EXECUTABLE_OBJECTS = \