configure.ac: Add PRESENT_LIB to XQUARTZ_LIBS
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>
Fri, 13 Dec 2013 09:39:44 +0000 (01:39 -0800)
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>
Fri, 13 Dec 2013 09:39:44 +0000 (01:39 -0800)
Undefined symbols for architecture x86_64:
  "_present_extension_init", referenced from:
      _staticExtensions in libXquartz.a(miinitext.o)
  "_present_register_complete_notify", referenced from:
      ___glXregisterPresentCompleteNotify in libglx.a(glxcmds.o)

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
configure.ac

index 8bedd35..ac29bd9 100644 (file)
@@ -2158,7 +2158,7 @@ if test "x$XQUARTZ" = xyes; then
        AC_DEFINE(XQUARTZ,1,[Have Quartz])
        AC_DEFINE(ROOTLESS,1,[Build Rootless code])
 
-       XQUARTZ_LIBS="$FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB"
+       XQUARTZ_LIBS="$FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $PRESENT_LIB"
        AC_SUBST([XQUARTZ_LIBS])
 
        AC_CHECK_LIB([Xplugin],[xp_init],[:])