1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/r-modules/patches/RMySQL.patch
2015-02-19 23:53:36 +03:00

14 lines
541 B
Diff

diff -ru3 RMySQL_orig/configure RMySQL/configure
--- RMySQL_orig/configure 2015-02-19 22:49:15.812455730 +0300
+++ RMySQL/configure 2015-02-19 22:49:42.066407256 +0300
@@ -1,7 +1,7 @@
# If $MYSQL_DIR is specified, use that
if [ "$MYSQL_DIR" ]; then
- echo "PKG_CPPFLAGS= -I$MYSQL_DIR/include" > src/Makevars
- echo "PKG_LIBS= -L$MYSQL_DIR/lib -lmysqlclient -lz" >> src/Makevars
+ echo "PKG_CPPFLAGS= -I$MYSQL_DIR/include/mysql" > src/Makevars
+ echo "PKG_LIBS= -L$MYSQL_DIR/lib/mysql -lmysqlclient -lz" >> src/Makevars
exit 0
fi