Permalink
Browse files

fix compilation on Linux

  • Loading branch information...
1 parent 5993721 commit 930086df38324cf765484cda7fa6c10ee3234559 @jhasse committed Aug 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 SConstruct
  2. +1 −1 jngl.pc.in
View
@@ -90,7 +90,7 @@ if env['PLATFORM'] == 'win32' and not env['msvc']: # Windows
if env['PLATFORM'] == 'posix': # Linux
if env['python']:
env.Append(CCFLAGS = '-DNOJPEG')
- source_files += Glob('src/linux/*.cpp')
+ source_files += env.Object(Glob('src/linux/*.cpp'), CPPFLAGS='-std=c++0x')
env.ParseConfig('pkg-config --cflags --libs fontconfig glib-2.0')
env.ParseConfig('pkg-config --cflags --libs freetype2')
env.Append(CCFLAGS="-fPIC -DNO_WEAK_LINKING_OPENAL")
View
@@ -1,5 +1,5 @@
Name: jngl
Description: Easy to use 2D game library using OpenGL and OpenAL
Version: @VERSION@
-Libs: -ljngl -lGL -lGLU -ljpeg -lopenal
+Libs: -ljngl -lGL -lGLU -ljpeg -lopenal -lwebp
Requires: libpng glib-2.0 xxf86vm freetype2 fontconfig vorbisfile glew

0 comments on commit 930086d

Please sign in to comment.