use dynamic libaio for ha_xtradb.so

This commit is contained in:
Sergei Golubchik 2013-12-22 17:08:50 +01:00
parent 348c962c49
commit 536ca5715d

View File

@ -148,12 +148,12 @@ IF(UNIX)
ENDIF() ENDIF()
# Remove libaio dependency from mysqld # Remove libaio dependency from mysqld
SET(XTRADB_PREFER_STATIC_LIBAIO 1) #SET(XTRADB_PREFER_STATIC_LIBAIO 1)
# Unfortunately, linking shared libmysqld with static aio # Unfortunately, linking shared libmysqld with static aio
# does not work, unless we add also dynamic one. This also means # does not work, unless we add also dynamic one. This also means
# libmysqld.so will depend on libaio.so # libmysqld.so will depend on libaio.so
SET(LIBMYSQLD_SO_EXTRA_LIBS aio) #SET(LIBMYSQLD_SO_EXTRA_LIBS aio)
ENDIF() ENDIF()
# Enable fast mutexes on Linux # Enable fast mutexes on Linux