* harbour/include/hbexpra.c
* indenting
* harbour/package/harbour.spec
! fixed ssl library detection
* harbour/contrib/hbnetio/netiosrv.c
! fixed parameters numbers in NETIO_COMPRESS()
* harbour/config/linux/libs.mk
* harbour/config/bin.mk
! use pthread in linked library list if shared linking is enabled
! do not strip system libraries in shared mode - some systems
(i.e. RH7.3) needs pthread to be given at link time to create
correct MT programs and now harbour shared library is only in MT.
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
SYSLIBPATHS :=
|
|
|
|
ifneq ($(HB_LINKING_RTL),)
|
|
ifeq ($(HB_LIBNAME_CURSES),)
|
|
HB_LIBNAME_CURSES := ncurses
|
|
endif
|
|
ifneq ($(HB_HAS_CURSES),)
|
|
SYSLIBS += $(HB_LIBNAME_CURSES)
|
|
endif
|
|
ifneq ($(HB_HAS_SLANG),)
|
|
SYSLIBS += slang
|
|
endif
|
|
ifneq ($(HB_HAS_X11),)
|
|
SYSLIBS += X11
|
|
# add 64-bit lib dir needed for some distros (Red Hat)
|
|
ifneq ($(findstring 64,$(shell uname -m)),)
|
|
SYSLIBPATHS += /usr/X11R6/lib64
|
|
endif
|
|
SYSLIBPATHS += /usr/X11R6/lib
|
|
endif
|
|
ifneq ($(HB_HAS_GPM),)
|
|
SYSLIBS += gpm
|
|
endif
|
|
ifneq ($(HB_HAS_PCRE),)
|
|
ifeq ($(HB_HAS_PCRE_LOCAL),)
|
|
SYSLIBS += pcre
|
|
endif
|
|
endif
|
|
ifeq ($(HB_HAS_ZLIB_LOCAL),)
|
|
SYSLIBS += z
|
|
endif
|
|
SYSLIBS += rt dl
|
|
# Don't seem to be needed here, but added it for reference to move/copy it to *nix platforms where this is required
|
|
ifneq ($(HB_LINKING_VMMT),)
|
|
SYSLIBS += pthread
|
|
endif
|
|
else
|
|
ifeq ($(BUILD_SHARED),yes)
|
|
SYSLIBS += pthread
|
|
endif
|
|
endif
|
|
|
|
SYSLIBS += m
|