Changeset 21888

Show
Ignore:
Timestamp:
15.04.2010 20:05:20 (10 years ago)
Author:
ak19
Message:

Libiconv libraries are needed by the apache web server. LD_LIBRARY_PATH already contains apache's lib folder, so now, on make install of GS2, we're copying the libiconv library files into apache's lib folder so the binary release generated by the releasekit works (just like the one from svn already does).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/Makefile.in

    r21377 r21888  
    6868    @echo "Compile done" 
    6969 
     70# Upon installing, on Linux and Mac need to copy the libiconv library files 
     71# into apache's lib folder since apache needs the libiconv when running. 
     72# This is particularly necessary for the release version since its common-src 
     73# folder (and the libiconv libraries this contains) are not included. 
     74# If ever the libiconv is used by more than apache, copy libiconv into GS2's lib 
     75# folder rather than into apache lib folder. 
    7076install: install-$(COMPILE_TARGET) 
     77    if test -d apache-httpd; then \ 
     78      cp -r common-src/packages/iconv/lib/lib* apache-httpd/$GSDLOS/lib/. \ 
     79    fi; 
    7180    @echo "Install done" 
    7281