asx
asx

Reputation: 1

MySQL 5.7 static build

I'd like to build MySQL statically. I've checked https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html, downloaded the source but unfortunately I'm only used to make and not cmake and I couldn't find anything relevent in the install instructions. So how do I do this?

Upvotes: 0

Views: 1862

Answers (1)

Rikkouri
Rikkouri

Reputation: 87

In mysql-5.7 you need to use -DBUILD_SHARED_LIBS=OFF.

Upvotes: 1

Related Questions