DragonFly commits List (threaded) for 2007-04
DragonFly BSD
DragonFly commits List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib Makefile src/lib/libpthread Makefile README dummy.c


From: Hasso Tepper <hasso@xxxxxxxxx>
Date: Fri, 20 Apr 2007 09:54:31 +0300

Simon Schubert wrote:
>   Added files:
>     lib/libpthread       Makefile README dummy.c 
>   Log:
>   Add a proxy libpthread.

This doesn't seem to work. Symbolic link libpthread.so.0 isn't created
as I would expect. I think that you want to apply following patch, no?

--- a/lib/libpthread/Makefile   Thu Apr 19 21:50:55 2007 +0300
+++ b/lib/libpthread/Makefile   Fri Apr 20 09:52:19 2007 +0300
@@ -12,9 +12,9 @@ realinstall: linkinstall
 realinstall: linkinstall
 linkinstall:
        # Do not overwrite existing symlinks
-       if [ ! -e ${DESTDIR}${TARGET_SHLIBDIR}/${LIBNAME}.so ]; then \
+       if [ ! -e ${DESTDIR}${TARGET_SHLIBDIR}/${SONAME} ]; then \
                ${LN} -fs lib${DEFAULT_PTHREAD_LIB}.so \
-                       ${DESTDIR}${TARGET_SHLIBDIR}/${LIBNAME}.so; \
+                       ${DESTDIR}${TARGET_SHLIBDIR}/${SONAME}; \
        fi
        if [ ! -e ${DESTDIR}${TARGET_LIBDIR}/${LIBNAME}.a ]; then \
                ${LN} -fs lib${DEFAULT_PTHREAD_LIB}.a \


-- 
Hasso Tepper



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]