Ticket #41219: patch-ice.cpp.config.Make.rules.diff

File patch-ice.cpp.config.Make.rules.diff, 880 bytes (added by patrick.sizun@…, 11 years ago)
  • cpp/config/Make.rules

    diff -ru Ice-3.5.0.orig/cpp/config/Make.rules Ice-3.5.0/cpp/config/Make.rules
    old new  
    219219endif
    220220
    221221ifneq ($(DB_HOME),)
    222     DB_FLAGS             = -I$(DB_HOME)/include
     222    DB_FLAGS             = -I$(DB_HOME)/include/db46
    223223    ifeq ($(DB_LIBS),)
    224       DB_LIBS              = -L$(DB_HOME)/$(libsubdir)$(cpp11suffix) -ldb_cxx
     224      DB_LIBS              = -L$(DB_HOME)/$(libsubdir)/db46 -ldb_cxx
    225225    endif
    226     DB_RPATH_LINK        = $(call rpathlink,$(DB_HOME)/$(libsubdir)$(cpp11suffix))
     226    DB_RPATH_LINK        = $(call rpathlink,$(DB_HOME)/$(libsubdir)/db46)
    227227else
    228228   ifeq ($(shell if [ -d /usr/include/db53 -a -d /usr/$(libsubdir)/db53 ] ; then echo yes; fi), yes)
    229229      DB_FLAGS          = -I/usr/include/db53