forked from qt-creator/qt-creator
Debugger: Fix LD_PRELOAD on Mac.
Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
@@ -57,6 +57,12 @@ const char * const DEBUGGER_SETTINGS_CATEGORY = QT_TRANSLATE_NOOP("Debugger", "D
|
||||
|
||||
namespace Internal {
|
||||
enum { debug = 0 };
|
||||
#ifdef Q_OS_MAC
|
||||
const char * const LD_PRELOAD_ENV_VAR = "DYLD_INSERT_LIBRARIES";
|
||||
#else
|
||||
const char * const LD_PRELOAD_ENV_VAR = "LD_PRELOAD";
|
||||
#endif
|
||||
|
||||
}
|
||||
} // namespace Constants
|
||||
|
||||
|
||||
Reference in New Issue
Block a user