Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GRASS module env variable fix for Mac
  • Loading branch information
dakcarto committed Dec 11, 2012
1 parent df2c1c5 commit b0a7fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b0a7fbe

Please sign in to comment.