Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 634296
Collapse All | Expand All

(-)endless-sky-0.9.8/SConstruct.orig (-6 / +8 lines)
Lines 38-51 Link Here
38
# -msse3 or (if just building for your own computer) -march=native.
38
# -msse3 or (if just building for your own computer) -march=native.
39
env.Append(CCFLAGS = flags)
39
env.Append(CCFLAGS = flags)
40
env.Append(LIBS = [
40
env.Append(LIBS = [
41
	"SDL2",
42
	"png",
43
	"jpeg",
44
	"GL",
45
	"GLEW",
46
	"openal",
47
	"pthread"
41
	"pthread"
48
]);
42
]);
43
# Using pkg-config to find libraries when possible
44
env.ParseConfig('pkg-config --cflags --libs sdl2')
45
env.ParseConfig('pkg-config --cflags --libs libpng')
46
env.ParseConfig('pkg-config --cflags --libs libjpeg')
47
env.ParseConfig('pkg-config --cflags --libs gl')
48
env.ParseConfig('pkg-config --cflags --libs glew')
49
env.ParseConfig('pkg-config --cflags --libs openal')
50
49
# libmad is not in the Steam runtime, so link it statically:
51
# libmad is not in the Steam runtime, so link it statically:
50
if 'SCHROOT_CHROOT_NAME' in os.environ and 'steamrt_scout_i386' in os.environ['SCHROOT_CHROOT_NAME']:
52
if 'SCHROOT_CHROOT_NAME' in os.environ and 'steamrt_scout_i386' in os.environ['SCHROOT_CHROOT_NAME']:
51
	env.Append(LIBS = File("/usr/lib/i386-linux-gnu/libmad.a"))
53
	env.Append(LIBS = File("/usr/lib/i386-linux-gnu/libmad.a"))

Return to bug 634296