openfl / lime

A foundational Haxe framework for cross-platform development
https://lime.openfl.org/
MIT License
754 stars 370 forks source link

Fix curl static linking on mac #1817

Closed tobil4sk closed 2 months ago

tobil4sk commented 2 months ago

When linking lime statically, we also need to add this -framework flag for curl. Otherwise a link error occurs:

Undefined symbols for architecture x86_64:
  "_SCDynamicStoreCopyProxies", referenced from:
      _Curl_resolv in liblime.a(9a49273bb93d215bdc76ffe1cf488a.o)
ld: symbol(s) not found for architecture x86_64

This was overlooked in #1682.