* config/linux/libs.mk
! Deleted some stuff left when doing the copy from
global.mk (yesterday).
Should fix double -fPIC switches seen on 64-bit Linux builds.
* config/linux/libs.mk
+ Adding /usr/X11R6/lib64 to sys lib path list on 64-bit systems.
If you find this wrong, please tell, we can tweak conditions.
* config/bsd/gcc.mk
* config/darwin/gcc.mk
* config/hpux/gcc.mk
* config/linux/gcc.mk
* config/sunos/gcc.mk
* Changed to just plain pass list of obj on cmdline in dynamic
lib creation rule. Should be safe on these OSes according to this doc:
http://www.in-ulm.de/~mascheck/various/argmax/
(we need about 31-32KB of cmdline at this moment)
38 lines
719 B
Makefile
38 lines
719 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
SYSLIBS :=
|
|
SYSLIBPATHS :=
|
|
|
|
ifneq ($(HB_LINKING_RTL),)
|
|
ifeq ($(HB_CRS_LIB),)
|
|
HB_CRS_LIB := ncurses
|
|
endif
|
|
ifneq ($(HB_HAS_CURSES),)
|
|
SYSLIBS += $(HB_CRS_LIB)
|
|
endif
|
|
ifneq ($(HB_HAS_SLANG),)
|
|
SYSLIBS += slang
|
|
endif
|
|
ifneq ($(HB_HAS_X11),)
|
|
SYSLIBS += X11
|
|
ifneq ($(findstring 64,$(shell uname -m)),)
|
|
SYSLIBPATHS += /usr/X11R6/lib64
|
|
endif
|
|
SYSLIBPATHS += /usr/X11R6/lib
|
|
endif
|
|
ifneq ($(HB_HAS_GPM),)
|
|
SYSLIBS += gpm
|
|
endif
|
|
ifneq ($(filter -DHB_PCRE_REGEX, $(HB_USER_CFLAGS)),)
|
|
SYSLIBS += pcre
|
|
endif
|
|
ifneq ($(filter -DHB_EXT_ZLIB, $(HB_USER_CFLAGS)),)
|
|
SYSLIBS += z
|
|
endif
|
|
SYSLIBS += rt dl
|
|
endif
|
|
|
|
SYSLIBS += m
|