diff options
| author | Rémi Verschelde | 2016-10-12 20:37:38 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-15 11:50:40 +0200 |
| commit | d9a291f6411f2e571c181da0ac89f550ba73f681 (patch) | |
| tree | a560b8263d9ab896a05087eb20d5eeefdeb89969 /platform/x11/detect.py | |
| parent | ee3cf211c6fd4d1e30617467cdbbe945798a68b3 (diff) | |
| download | godot-d9a291f6411f2e571c181da0ac89f550ba73f681.tar.gz godot-d9a291f6411f2e571c181da0ac89f550ba73f681.tar.zst godot-d9a291f6411f2e571c181da0ac89f550ba73f681.zip | |
Diffstat (limited to 'platform/x11/detect.py')
| -rw-r--r-- | platform/x11/detect.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 6a5ca84cb..8a156a6bc 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -155,6 +155,17 @@ def configure(env): if (env["enet"] == "system"): env.ParseConfig('pkg-config libenet --cflags --libs') + if (env["libogg"] == "system"): + env.ParseConfig('pkg-config ogg --cflags --libs') + + if (env["libvorbis"] == "system"): + env["libogg"] = "system" # Needed to link against system libvorbis + env.ParseConfig('pkg-config vorbis vorbisfile ogg --cflags --libs') + + if (env["opus"] == "system"): + env["libogg"] = "system" # Needed to link against system opus + env.ParseConfig('pkg-config opus opusfile ogg --cflags --libs') + env.Append(CPPFLAGS=['-DOPENGL_ENABLED']) |
