Changeset 10918 in project


Ignore:
Timestamp:
05/22/08 08:53:15 (12 years ago)
Author:
Ivan Raikov
Message:

Added code to set the SONAME of libchicken.so

Location:
chicken/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/Makefile.linux

    r10917 r10918  
    3232# options
    3333
    34 LIBCHICKEN_SO_LINKER_OPTIONS = -Wl,soname,libchicken.so.$(BINARYVERSION)
    35 LIBUCHICKEN_SO_LINKER_OPTIONS = -Wl,soname,libuchicken.so.$(BINARYVERSION)
     34LIBCHICKEN_SO_LINKER_OPTIONS = -Wl,-soname,libchicken.so.$(BINARYVERSION)
     35LIBUCHICKEN_SO_LINKER_OPTIONS = -Wl,-soname,libuchicken.so.$(BINARYVERSION)
    3636C_COMPILER_OPTIONS = -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H
    3737ifdef DEBUGBUILD
     
    4545LIBRARIES = -lm -ldl
    4646NEEDS_RELINKING = yes
    47 
     47LINUX = 1
    4848
    4949# special files
  • chicken/trunk/debian/rules

    r10893 r10918  
    99endif
    1010
    11 version=0.0.0
    12 major=0
     11version=3.2
    1312
    1413MAKE:=$(MAKE) PLATFORM=linux
  • chicken/trunk/rules.make

    r10890 r10918  
    794794        $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_SHARED_LIBRARY_OPTIONS) $(LIBCHICKEN_SO_FILE) $(DESTDIR)$(ILIBDIR)
    795795        $(INSTALL_PROGRAM) $(INSTALL_PROGRAM_SHARED_LIBRARY_OPTIONS) $(LIBUCHICKEN_SO_FILE) $(DESTDIR)$(ILIBDIR)
     796ifdef LINUX
     797        ln -sf $(DESTDIR)$(ILIBDIR)$(LIBCHICKEN_SO_FILE) $(DESTDIR)$(ILIBDIR)$(LIBCHICKEN_SO_FILE).$(BINARYVERSION)
     798endif
    796799endif
    797800ifdef WINDOWS
Note: See TracChangeset for help on using the changeset viewer.