Permalink
Browse files

Removed glfw platform hint and added aditional dyld path

  • Loading branch information...
bmcdorman committed Oct 23, 2012
1 parent b9eab3a commit f5cdbc1db12c820e9218da7f61eb2bb6b30cad5a
Showing with 2 additions and 1 deletion.
  1. +1 −1 rc/platform.hints
  2. +1 −0 src/MainWindow.cpp
View
@@ -1,7 +1,7 @@
[General]
C_FLAGS = -std=c99 -Wall -I${PREFIX}/usr/include -include stdio.h -include kiss/kiss.h -include blobtastic/blobtastic.h -include target.h -g
CXX_FLAGS = -Wall -I${PREFIX}/usr/include -include stdio.h -include kiss/kiss.h -include blobtastic/blobtastic.hpp -include target.h -g
-LD_FLAGS = -L${PREFIX}/usr/lib -lkiss2 -lglfw -lblobtastic
+LD_FLAGS = -L${PREFIX}/usr/lib -lkiss2 -lblobtastic
[osx]
LD_FLAGS = -framework OpenGL -framework CoreFoundation -framework IOKit -framework Cocoa
View
@@ -106,6 +106,7 @@ const bool MainWindow::run(const QString& name)
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
// TODO: This will only work on OS X
env.insert("DYLD_LIBRARY_PATH", QDir::currentPath() + "/prefix/usr/lib:" + env.value("DYLD_LIBRARY_PATH"));
+ env.insert("DYLD_LIBRARY_PATH", QDir::currentPath() + "/prefix/usr:" + env.value("DYLD_LIBRARY_PATH"));
m_process->setProcessEnvironment(env);
m_process->setWorkingDirectory(m_workingDirectory.path());
ui->console->setProcess(m_process);

0 comments on commit f5cdbc1

Please sign in to comment.