MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
349 stars 89 forks source link

fix macos build using brew #272

Closed andy5995 closed 10 months ago

andy5995 commented 10 months ago
andy5995 commented 10 months ago

My change in a8dca80 did nothing except produce another warning:

ld: warning: directory not found for option '-L/usr/local/opt/ldap/lib'

I just guessed at the directory anyway.

So, still getting this after the shared library is built and when the link tries to link the binary at 100%

Undefined symbols for architecture x86_64:
  "_ldap_init_fd", referenced from:
      _oldap_connect in libcurl.a(libcurl_la-openldap.o)
  "_ldap_pvt_url_scheme2proto", referenced from:
      _oldap_connect in libcurl.a(libcurl_la-openldap.o)
  "_ldap_start_tls", referenced from:
      _oldap_connect in libcurl.a(libcurl_la-openldap.o)
andy5995 commented 10 months ago

Closing in favor of https://github.com/MegaGlest/megaglest-source/pull/273