mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
When linking against libtt (a C++ lib) the link stage should use the C++
linker
This commit is contained in:
parent
e321b293c1
commit
c35c337aa1
3 changed files with 18 additions and 0 deletions
|
@ -31,6 +31,12 @@ SYS_LIBRARIES = -lm -lgen
|
|||
#if defined(HPOSFArchitecture)
|
||||
#endif
|
||||
|
||||
XCOMM On Linux once you link against a C++ library the whole program
|
||||
XCOMM has to be linked with the C++ linker
|
||||
#if defined(LinuxDistribution)
|
||||
CCLINK = $(CXX)
|
||||
#endif
|
||||
|
||||
SRCS = calctool.c ds_common.c ds_popup.c \
|
||||
ds_widget.c ds_xlib.c functions.c \
|
||||
help.c motif.c mp.c \
|
||||
|
|
|
@ -11,6 +11,12 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
|
|||
# LOCAL_LDFLAGS = -M mapfile.reorder
|
||||
#endif
|
||||
|
||||
XCOMM On Linux once you link against a C++ library the whole program
|
||||
XCOMM has to be linked with the C++ linker
|
||||
#if defined(LinuxDistribution)
|
||||
CCLINK = $(CXX)
|
||||
#endif
|
||||
|
||||
SRCS = \
|
||||
dtpad.c editCB.c fileCB.c \
|
||||
fileDlg.c fileIo.c formatCB.c \
|
||||
|
|
|
@ -11,6 +11,12 @@ LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB)
|
|||
SYS_LIBRARIES = -lm -lcrypt
|
||||
#endif
|
||||
|
||||
XCOMM On Linux once you link against a C++ library the whole program
|
||||
XCOMM has to be linked with the C++ linker
|
||||
#if defined(LinuxDistribution)
|
||||
CCLINK = $(CXX)
|
||||
#endif
|
||||
|
||||
SRCS = blank.c dtscreen.c flame.c hopalong.c \
|
||||
hsbramp.c image.c life.c pyro.c \
|
||||
qix.c resource.c rotor.c swarm.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue