Skip to content
Permalink
Browse files
GRASS module env variable fix for Mac
  • Loading branch information
dakcarto committed Dec 11, 2012
1 parent df2c1c5 commit b0a7fbe389fe6b1a3733630774780524957fe95c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qgsgrassmodule.cpp
@@ -1638,7 +1638,7 @@ void QgsGrassModule::run()
setDirectLibraryPath( environment );
#ifdef Q_OS_WIN
variables << "PATH";
#elif Q_OS_MAC
#elif defined(Q_OS_MAC)
variables << "DYLD_LIBRARY_PATH";
#else
variables << "LD_LIBRARY_PATH";
@@ -2003,7 +2003,7 @@ void QgsGrassModule::setDirectLibraryPath( QProcessEnvironment & environment )
#ifdef Q_OS_WIN
pathVariable = "PATH";
separator = ";";
#elif Q_OS_MAC
#elif defined(Q_OS_MAC)
pathVariable = "DYLD_LIBRARY_PATH";
separator = ":";
#else

0 comments on commit b0a7fbe

Please sign in to comment.