Skip to content

Commit 1b6f2d6

Browse files
committed
README updated for --with-mysql-rpath
1 parent 60f5731 commit 1b6f2d6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,24 @@ By default, the mysql2 gem will try to find a copy of MySQL in this order:
3232
### Configuration options
3333

3434
Use these options by `gem install mysql2 -- [--optionA] [--optionB=argument]`.
35-
The following options are mutually exclusive.
3635

3736
* `--with-mysql-dir[=/path/to/mysqldir]` -
3837
Specify the directory where MySQL is installed. The mysql2 gem will not use
3938
`mysql_config`, but will instead look at `mysqldir/lib` and `mysqldir/include`
4039
for the library and header files.
40+
This option is mutually exclusive with `--with-mysql-config`.
4141

4242
* `--with-mysql-config[=/path/to/mysql_config]` -
4343
Specify a path to the `mysql_config` binary provided by your copy of MySQL. The
4444
mysql2 gem will ask this `mysql_config` binary about the compiler and linker
4545
arguments needed.
46+
This option is mutually exclusive with `--with-mysql-dir`.
47+
48+
* `--with-mysql-rpath=/path/to/mysql/lib` / `--without-mysql-rpath` -
49+
Override the runtime path used to find the MySQL libraries.
50+
This may be needed if you deploy to a system where these libraries
51+
are located somewhere different than on your build system.
52+
This overrides any rpath calculated by default or by the options above.
4653

4754
### Windows
4855
First, make sure you have the DevKit installed (http://rubyinstaller.org/downloads/) and its variables

0 commit comments

Comments
 (0)