mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
On Linux when linking against a C++ library the whole program must be linked
with the C++ linker.
This commit is contained in:
parent
c35c337aa1
commit
f972ee1646
2 changed files with 12 additions and 0 deletions
|
@ -27,6 +27,12 @@ EXTRA_DEFINES = -D_TOOLTALK
|
|||
EXTRA_CCOPTIONS = -xF
|
||||
#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 = ChangeDir.c ChangeDirP.c Command.c Common.c \
|
||||
Desktop.c Directory.c Encaps.c File.c \
|
||||
FileDialog.c FileManip.c FileMgr.c FileOp.c \
|
||||
|
|
|
@ -10,6 +10,12 @@ SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
|
|||
EXTRA_CCOPTIONS = -xF
|
||||
#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 = main_dtcopy.c copydialog.c overwrtdialog.c dosync.c \
|
||||
fsrtns.c utils.c errordialog.c sharedFuncs.c
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue