Contents of /trunk/libsdl/patches/libsdl-1.2.8-no-cxx.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 688 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 688 byte(s)
-import
1 | A little hack to keep C++ crap out of libsdl. |
2 | |
3 | Problem is that autotools isn't smart enough to realize that libarch.la |
4 | should be linked as C++ only for TARGET_BEOS ... otherwise it should be |
5 | linked as a good old fashioned C library. |
6 | |
7 | Since Gentoo doesn't support BEOS [atm], this hack is acceptable considering |
8 | the gain (no more C++ crap !). |
9 | |
10 | --- src/main/Makefile.am |
11 | +++ src/main/Makefile.am |
12 | @@ -33,11 +33,7 @@ libSDLmain_a_SOURCES = $(MAINLIB_ARCH_SR |
13 | # Build an internal library of any special app setup functions |
14 | noinst_LTLIBRARIES = libarch.la |
15 | |
16 | -if TARGET_BEOS |
17 | -ARCH_SRCS = beos/SDL_BeApp.cc beos/SDL_BeApp.h |
18 | -else |
19 | ARCH_SRCS = arch.c |
20 | -endif |
21 | |
22 | libarch_la_SOURCES = $(ARCH_SRCS) |
23 |