Quoting Sebastian Ley ([EMAIL PROTECTED]): > Hello, > > I have the following problem: > > I need to package libdirectfb in two different versions for the same > distribution. The two packages will be binary incompatible since they > will be compiled with different configure flags. > > My idea was the following: > > Have the one package installed "normally" which would contain the > following files: > > /usr/lib/libdirectfb-0.9.so.16.0.0 > and symlinks pointing to the above file named > /usr/lib/libdirectfb-0.9.so.16 > /usr/lib/libdirectfb-0.9.so > > The other package should contain these files: > > /usr/lib/libdirectfb-0.9.16-udeb/libdirectfb-0.9.so.16-udeb.0.0 > and symlinks named > /usr/lib/libdirectfb-0.9.16-udeb/libdirectfb-0.9.so.16-udeb > /usr/lib/libdirectfb-0.9.16-udeb/libdirectfb-0.9.so > > The SONAME of the files would of course match the name of the forst > symlink. > > With this setting I can now choose to which version I want to link by > just setting appropriate -L flags (i.e. with pkgconfig). > > My problem is now: How can I modify your configure.in or other > autoconf/automake/libtool files to accomplish the above setting?
./configure --libdir=/usr/lib/libdirectfb-0.9.16-udeb could work. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
