* config/darwin/libs.mk
! Fixed to include MacPorts and Fink lib paths only if
they exist. This fixes potential warnings with latest
release of clang.
* config/linux/libs.mk
! Minor in comment.
* src/rtl/achoice.prg
! Added patch by Jerry Finuliar to refix dbu menu hang.
42 lines
848 B
Makefile
42 lines
848 B
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
|
|
# In BSD, slang still needs curses :(
|
|
ifneq ($(HB_HAS_CURSES),)
|
|
SYSLIBS += $(HB_LIBNAME_CURSES)
|
|
endif
|
|
ifneq ($(wildcard /sw/lib),)
|
|
SYSLIBPATHS += /sw/lib
|
|
endif
|
|
ifneq ($(wildcard /opt/local/lib),)
|
|
SYSLIBPATHS += /opt/local/lib
|
|
endif
|
|
endif
|
|
ifneq ($(HB_HAS_X11),)
|
|
SYSLIBS += X11
|
|
SYSLIBPATHS += /usr/X11R6/lib
|
|
endif
|
|
ifneq ($(HB_HAS_PCRE),)
|
|
ifeq ($(HB_HAS_PCRE_LOCAL),)
|
|
SYSLIBS += pcre
|
|
endif
|
|
endif
|
|
ifeq ($(HB_HAS_ZLIB_LOCAL),)
|
|
SYSLIBS += z
|
|
endif
|
|
endif
|
|
|
|
SYSLIBS += m
|