From: Warren Young Date: October 27 2011 6:14am Subject: Re: [PATCH] for 'can not be used when making a shared object; recompile with -fPIC' error List-Archive: http://lists.mysql.com/plusplus/9467 Message-Id: <57BE5014-97E6-48E9-AABA-BB19B1AD7720@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Oct 17, 2011, at 5:52 PM, Adrian Cornish wrote: > I did some reading and it seems the best way to do this is with > libtool. I have no problem with that dependency. > I modified configure.ac to use libtool - tested on Fedora 15 and it > works. It correctly adds -fPIC and -DPIC to compile lines I see that on OS X, too. > Also fixes a lot of autoconf warning by moving the bakefile.m4 file = further down In future, it would be better if you split this up into multiple = patches, one for each actual change. I like to have a separate checkin = comment for each; this makes it easier to assemble the ChangeLog for = releases. If you look at the commits list, you can see how I broke it = up. The first two patches probably should have been applied in reverse = order.=