1
0
Fork 0
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:
Peter Howkins 2012-03-12 10:38:42 +00:00
parent c35c337aa1
commit f972ee1646
2 changed files with 12 additions and 0 deletions

View file

@ -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 \

View file

@ -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