summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2008-08-21 00:27:10 +0000
committerMaarten ter Huurne <maarten@treewalker.org>2008-08-21 00:27:10 +0000
commit4e9b5a40fde8d8043e4b7f39fc8f862103c52b8e (patch)
tree77c11d140c2cf4352587354545e8c7730dfeb6d6 /Source
parent05c04bd03ee76f02ea1e1657d1ecf8558f762e8b (diff)
Look for libs in MacPorts install dir (/opt/local). This seems to be the easiest way to get libjpeg on OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@253 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/SConscript b/Source/Plugins/Plugin_VideoOGL/Src/SConscript
index 2adaf2499d..f996a16e84 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/SConscript
+++ b/Source/Plugins/Plugin_VideoOGL/Src/SConscript
@@ -26,7 +26,7 @@ files = ["BPStructs.cpp",
"GUI/ConfigDlg.cpp",
]
if sys.platform == 'darwin':
- gfxenv=env.Copy(CXXFLAGS = " -DMACOSX=1 `sdl-config --cflags` `wx-config --cppflags` ", LINKFLAGS = " -framework OpenGL -framework Cg `sdl-config --libs` `wx-config --libs` ")
+ gfxenv=env.Copy(CXXFLAGS = " -DMACOSX=1 `sdl-config --cflags` `wx-config --cppflags` -I/opt/local/include ", LINKFLAGS = " -framework OpenGL -framework Cg `sdl-config --libs` `wx-config --libs` -L/opt/local/lib ")
gfxenv.SharedLibrary("../../../../Binary/mac/Plugins/zeroogl.so", files, LIBS=["videocommon", "common", "GLEW"])
else:
gfxenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags xxf86vm` ", LINKFLAGS = "`wx-config --libs` `pkg-config --libs xxf86vm` ")