Don't link with libstdc++ for plain C samples.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37920 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src tests kits opengl demos gears ;
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
if $(TARGET_PLATFORM) != haiku {
|
||||
# Needed for <GL/glut.h>, not present in R5.
|
||||
# Needed for <GL/glut.h>, not present in R5.
|
||||
# Unfortunately we also get the other headers there,
|
||||
# that we don't really want.
|
||||
UsePublicHeaders opengl ;
|
||||
@@ -11,5 +11,5 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
|
||||
SimpleTest GLGears :
|
||||
gears.c
|
||||
: be libGL.so $(TARGET_LIBSUPC++)
|
||||
: be GL
|
||||
;
|
||||
|
||||
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src tests kits opengl direct_mode ;
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
if $(TARGET_PLATFORM) != haiku {
|
||||
# Needed for <GL/glut.h>, not present in R5.
|
||||
# Needed for <GL/glut.h>, not present in R5.
|
||||
# Unfortunately we also get the other headers there,
|
||||
# that we don't really want.
|
||||
UsePublicHeaders opengl ;
|
||||
@@ -11,6 +11,6 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
|
||||
SimpleTest GLDirectMode :
|
||||
GLDirectMode.cpp
|
||||
: be game libGL.so $(TARGET_LIBSUPC++)
|
||||
: be game GL $(TARGET_LIBSUPC++)
|
||||
: GLDirectMode.rdef
|
||||
;
|
||||
|
||||
@@ -11,5 +11,5 @@ if $(TARGET_PLATFORM) != haiku {
|
||||
|
||||
SimpleTest GLUTGameMode :
|
||||
game_mode.c
|
||||
: be libGL.so $(TARGET_LIBSUPC++)
|
||||
: be GL
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user