Port changes to the "raycast" module build files from 3.x

This commit is contained in:
jfons 2021-05-04 12:06:54 +02:00
parent b5e4d63a0b
commit 575543ce53
5 changed files with 118 additions and 98 deletions

View file

@ -325,6 +325,10 @@ def configure(env):
if not env["builtin_pcre2"]:
env.ParseConfig("pkg-config libpcre2-32 --cflags --libs")
if not env["builtin_embree"]:
# No pkgconfig file so far, hardcode expected lib name.
env.Append(LIBS=["embree3"])
## Flags
if os.system("pkg-config --exists alsa") == 0: # 0 means found