mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-27 20:13:49 +03:00
1febdcac9b
Recompilation of MySQL shared object with MySQL 5.1 development libraries on Debian 5.3. Tweaked the UDF compilation/installation files for both MySQL and PgSQL.
10 lines
267 B
Makefile
10 lines
267 B
Makefile
# For MySQL < 5.1
|
|
LIBDIR=/usr/lib
|
|
# For MySQL >= 5.1
|
|
#LIBDIR=/usr/lib/mysql/plugin
|
|
|
|
install:
|
|
gcc -Wall -I/usr/include/mysql -O1 -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
|
|
strip -sx lib_mysqludf_sys.so
|
|
cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
|