Changeset 873

Show
Ignore:
Timestamp:
08/01/07 07:05:03 (1 year ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r872 r873  
    112007-07-31  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/Makefile.am (library_soname): Added the -version-info 
     4        parameter to the libraries' LDFLAGS in order specify the soname. 
     5        Patch by Marcus Rueckert <darix@web.de>. 
     6 
     7        * configure.in: Added three exported variables defining the 
     8        libraries soname. 
    29 
    310        * cherokee/handler_dirlist.h, cherokee/handler_dirlist.c: Blank 
  • cherokee/trunk/cherokee/Makefile.am

    r859 r873  
    6565# LDFLAGS for libraries 
    6666# 
     67library_soname = \ 
     68-version-info $(CHEROKEE_CURRENT):$(CHEROKEE_REVISION):$(CHEROKEE_AGE) 
     69 
    6770if PLATFORM_WIN32 
    6871no_undefined = -no-undefined -Wl,--export-all-symbols 
     
    623626# with this flag too, so stick it into the ldflags if it's there... 
    624627# extra cflags at link time can't hurt 
    625 libcherokee_base_la_LDFLAGS = $(common_ldflags) 
     628libcherokee_base_la_LDFLAGS = $(common_ldflags) $(library_soname) 
    626629libcherokee_base_la_LIBADD = \ 
    627630$(TLS_LIBS) \ 
     
    630633$(external_pcre_lib) 
    631634 
    632 libcherokee_client_la_LDFLAGS = $(common_ldflags) 
     635libcherokee_client_la_LDFLAGS = $(common_ldflags) $(library_soname) 
    633636libcherokee_client_la_LIBADD = \ 
    634637$(TLS_LIBS) \ 
     
    637640libcherokee-base.la 
    638641 
    639 libcherokee_server_la_LDFLAGS = $(common_ldflags) 
     642libcherokee_server_la_LDFLAGS = $(common_ldflags) $(library_soname) 
    640643libcherokee_server_la_CFLAGS = \ 
    641644$(static_validator_htpasswd_flags) \ 
     
    653656libcherokee-base.la 
    654657 
    655 libcherokee_config_la_LDFLAGS = $(common_ldflags) 
     658libcherokee_config_la_LDFLAGS = $(common_ldflags) $(library_soname) 
    656659libcherokee_config_la_LIBADD = \ 
    657660$(PTHREAD_LIBS) \ 
  • cherokee/trunk/configure.in

    r805 r873  
    4646AC_SUBST(PACKAGE_MICRO_VERSION) 
    4747 
     48dnl Define library soname 
     49CHEROKEE_AGE=0 
     50CHEROKEE_CURRENT=0 
     51CHEROKEE_REVISION=1 
     52AC_SUBST(CHEROKEE_AGE) 
     53AC_SUBST(CHEROKEE_CURRENT) 
     54AC_SUBST(CHEROKEE_REVISION) 
    4855 
    4956dnl Check the SVN revision