compiling libpq++ on Solaris with Sun SPRO6U2

Started by Denis A Ustimenkoabout 24 years ago1 messages
#1Denis A Ustimenko
denis@oldham.ru
Here is my patches for libpq++ compiling by Sun C++:
--------------------------------------------------------------------------
*** ../postgresql-7.1.3.orig//src/Makefile.shlib        О©╫О©╫ О©╫О©╫О©╫ 15 10:25:07
2001
--- .//src/Makefile.shlib       О©╫О©╫ О©╫О©╫О©╫ 17 12:23:41 2001
***************
*** 179,185 ****
    ifeq ($(with_gnu_ld), yes)
      LINK.shared               += -Wl,-soname,$(soname)
    else
!     LINK.shared               += -Wl,-h,$(soname)
    endif
    SHLIB_LINK          += -lm -lc
  endif
--- 179,185 ----
    ifeq ($(with_gnu_ld), yes)
      LINK.shared               += -Wl,-soname,$(soname)
    else
!     LINK.shared               += -h,$(soname)
    endif
    SHLIB_LINK          += -lm -lc
  endif
*** ../postgresql-7.1.3.orig//src/makefiles/Makefile.solaris    О©╫О©╫ О©╫О©╫О©╫ 17
00:14:25 2000
--- .//src/makefiles/Makefile.solaris   О©╫О©╫ О©╫О©╫О©╫ 17 11:59:33 2001
***************
*** 5,12 ****
  ifeq ($(with_gnu_ld), yes)
  export_dynamic = -Wl,-E
  rpath = -Wl,-rpath,$(libdir)
- else
- rpath = -Wl,-R$(libdir)
  endif
  shlib_symbolic = -Wl,-Bsymbolic
--------------------------------------------------------------------------

Regards
Denis Ustimenko