On Linux when linking against a C++ library the whole program must be linked
with the C++ linker.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user