1 message in com.mysql.lists.perlStatic Linking problem
FromSent OnAttachments
Todd-D Jodoin29 Oct 2002 06:34 
Subject:Static Linking problem
From:Todd-D Jodoin (to@nortelnetworks.com)
Date:10/29/2002 06:34:42 AM
List:com.mysql.lists.perl

Hi,

What's the proper syntax for statically linking the libmysqlclient.a library?

ie. perl Makefile.PL --cflags=-I/home/mysql/include --libs='/home/mysql/lib/mysql/libmysqlclient.a'

I've tried a number of variants but Makefile.PL seems to only accept the dynamic syntax.

ie. --libs='-L/home/mysql/lib/mysql -lmysqlclient'

Thanks,

Todd Jodoin