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 ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
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,
|
# Unfortunately we also get the other headers there,
|
||||||
# that we don't really want.
|
# that we don't really want.
|
||||||
UsePublicHeaders opengl ;
|
UsePublicHeaders opengl ;
|
||||||
@@ -11,5 +11,5 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
|
|
||||||
SimpleTest GLGears :
|
SimpleTest GLGears :
|
||||||
gears.c
|
gears.c
|
||||||
: be libGL.so $(TARGET_LIBSUPC++)
|
: be GL
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ SubDir HAIKU_TOP src tests kits opengl direct_mode ;
|
|||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
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,
|
# Unfortunately we also get the other headers there,
|
||||||
# that we don't really want.
|
# that we don't really want.
|
||||||
UsePublicHeaders opengl ;
|
UsePublicHeaders opengl ;
|
||||||
@@ -11,6 +11,6 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
|
|
||||||
SimpleTest GLDirectMode :
|
SimpleTest GLDirectMode :
|
||||||
GLDirectMode.cpp
|
GLDirectMode.cpp
|
||||||
: be game libGL.so $(TARGET_LIBSUPC++)
|
: be game GL $(TARGET_LIBSUPC++)
|
||||||
: GLDirectMode.rdef
|
: GLDirectMode.rdef
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
|
|
||||||
SimpleTest GLUTGameMode :
|
SimpleTest GLUTGameMode :
|
||||||
game_mode.c
|
game_mode.c
|
||||||
: be libGL.so $(TARGET_LIBSUPC++)
|
: be GL
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user