On Thu, Feb 19, 2009 at 1:50 PM, Cristian Morales Vega <cmorve69@yahoo.es> wrote:
I have in my Makefile.am
-Leps-1.2 -leps -L/usr/lib/mysql -lmysqlclient
The above gets expanded to (as seen in the build log)
-L/usr/src/packages/BUILD/indimail-1.4/eps-1.2 -L/var/tmp/indimail-1.4-11.1-VOX9FX/var/indimail/lib -L/var/indimail/lib -leps -L/usr/lib/mysql -L/var/tmp/indimail-1.4-11.1-VOX9FX/usr/lib/mysql -lmysqlclient
I am perplexed why -L/var/tmp/indimail-1.4-11.1-VOX9FX/var/indimail/lib is getting added.
Will doing -L./eps-1.2 instead of -Leps-1.2 help?
From http://en.opensuse.org/Packaging/Shared_Library_Packaging_Policy#Best_Practi... "Avoid packaging libtool config files (.la files). In general they are not needed if you do not package a static library. If in doubt, ask."
So, you probably can just remove the file. --
Thanks. That should solve my problem on openSUSE 11.1 build. On further investigation, I find that libtool on openSUSE 11.1 seems to be expanding the -Leps-1.1 -leps to -L/var/tmp/indimail-1.4-11.1-VOX9FX/var/indimail/lib -leps The same spec file and the same source on FC10 for example gives -L/home/abuild/rpmbuild/BUILD/indimail-1.4/eps-1.2 /home/abuild/rpmbuild/BUILD/indimail-1.4/eps-1.2/.libs/libeps.so -L/usr/lib64/mysql -lmysqlclient -lm -Wl,-soname -Wl,libindimail-1.4.so.0 -o .libs/libindimail-1.4.so.0.0.0 I don't see any any instance of RPM_BUILD_ROOT. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org