http://bugs.freedesktop.org/show_bug.cgi?id=16053





--- Comment #6 from Dan Nicholson <[EMAIL PROTECTED]>  2008-06-03 06:40:00 PST 
---
Maybe the easiest way to fix this is to do symlink copying as a default off
option in minstall. Then call it with the option when installing the libraries.
So, you'd do something like this:

$(INSTALL) -l $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME)* \
    $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)

Where the -l mode says that, yes, you do want to copy symlinks of files as is.
This would do the right thing since in your build directory, libGL.so.?.? will
be a real file while libGL.so and libGL.so.? will be symlinks:

$ ls -l lib/libGL.so*
lrwxrwxrwx 1 dan users      10 2008-05-21 13:03 lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 dan users      12 2008-05-21 13:03 lib/libGL.so.1 -> libGL.so.1.2
-rwxrwxr-x 1 dan users 1850464 2008-05-21 13:03 lib/libGL.so.1.2

An alternative would be to have a separate script just for installing libraries
which copies some of the logic from mklib for determining symlinks for shared
objects. This would be sort of like `libtool --mode=install'.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to