glew package: add ld flags when compiling with ^apple-gl (#43429)
This commit is contained in:
parent
4a40a76291
commit
a8506f9022
1 changed files with 5 additions and 0 deletions
|
@ -72,3 +72,8 @@ def cmake_args(self):
|
|||
args.append(self.define("OPENGL_egl_LIBRARY", "IGNORE"))
|
||||
|
||||
return args
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "ldflags" and self.spec.satisfies("platform=darwin ^apple-gl"):
|
||||
flags.append("-framework OpenGL")
|
||||
return (flags, None, None)
|
||||
|
|
Loading…
Reference in a new issue