#16 src/Makefile patch for compilation under HP-UX

closed
Peter Kuemmel
None
5
2008-07-15
2007-11-21
Anonymous
No

Hello all,

here goes the patch code for src/Makefile to gain building under HP-UX IA-64:

>-----------------cut-------------------<
*** Makefile-old Wed Nov 21 17:08:59 2007
--- src/Makefile Wed Nov 21 17:02:28 2007
***************
*** 22,31 ****
--- 22,40 ----
LDLIBS := -lpthread
RESULT_DIR := ../lib/
else
+ ifeq ($(OS), HP-UX)
+ SHARED_LIB_BASE := libloki.so
+ SHARED_LIB_VERSIONED := libloki.so.$(VERSION)
+ override LDFLAGS += --shared -fPIC -mlp64
+ override CXXFLAGS += -mlp64
+ LDLIBS := -lpthread
+ RESULT_DIR := ../lib/
+ else
SHARED_LIB_VERSIONED := libloki.dll
override LDFLAGS += --shared
LDLIBS :=
RESULT_DIR := ../lib/
+ endif
endif
endif

>-----------------cut-------------------<

Discussion

  • Peter Kuemmel
    Peter Kuemmel
    2008-07-15

    • milestone: 129633 -->
    • assigned_to: nobody --> syntheticpp
    • status: open --> closed
     
  • Peter Kuemmel
    Peter Kuemmel
    2008-07-15

    Logged In: YES
    user_id=1159765
    Originator: NO

    commited