1 |
|
### RPM external mysqlpp 1.7.40 |
2 |
+ |
Requires: gcc-wrapper |
3 |
|
# Local patches and build system fudging by Lassi A. Tuura <lat@iki.fi> |
4 |
|
# FIXME: zlib usage? |
5 |
|
Requires: mysql zlib |
17 |
|
[ $(uname) = Darwin ] && cp /usr/share/libtool/config.* . |
18 |
|
|
19 |
|
%build |
20 |
+ |
## IMPORT gcc-wrapper |
21 |
|
echo "ZLIB_ROOT" $ZLIB_ROOT |
22 |
|
export CPPFLAGS=-I$ZLIB_ROOT/include |
23 |
|
export LDFLAGS=-L$ZLIB_ROOT/lib |
27 |
|
--with-mysql-include=$MYSQL_ROOT/include/mysql |
28 |
|
perl -p -i -e 's/\@OBJEXT\@/o/g; s/\@EXEEXT\@//g' examples/Makefile |
29 |
|
make |
30 |
+ |
# |