summaryrefslogtreecommitdiffstats
path: root/libpthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r--libpthread/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index a12655b48..9fe3759dd 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -86,10 +86,10 @@ shared: all
$(RM) $(TOPDIR)lib/$(LIBPTHREAD_SHARED_FULLNAME) \
$(TOPDIR)lib/$(LIBPTHREAD_SHARED).$(MAJOR_VERSION); \
$(INSTALL) -m 644 $(LIBPTHREAD_SHARED_FULLNAME) $(TOPDIR)lib; \
- (cd $(TOPDIR)lib && ln -sf $(LIBPTHREAD_SHARED_FULLNAME) \
- $(LIBPTHREAD_SHARED)); \
- (cd $(TOPDIR)lib && ln -sf $(LIBPTHREAD_SHARED_FULLNAME) \
- $(LIBPTHREAD_SHARED).$(MAJOR_VERSION)); \
+ $(LN) -sf $(LIBPTHREAD_SHARED_FULLNAME) \
+ $(TOPDIR)lib/$(LIBPTHREAD_SHARED); \
+ $(LN) -sf $(LIBPTHREAD_SHARED_FULLNAME) \
+ $(TOPDIR)lib/$(LIBPTHREAD_SHARED).$(MAJOR_VERSION); \
fi;
if [ -f $(LIBTHREAD_DB) ] ; then \
set -e; \
@@ -101,10 +101,10 @@ shared: all
$(RM) $(TOPDIR)lib/$(LIBTHREAD_DB_SHARED_FULLNAME) \
$(TOPDIR)lib/$(LIBTHREAD_DB_SHARED).$(MAJOR_VERSION); \
$(INSTALL) -m 644 $(LIBTHREAD_DB_SHARED_FULLNAME) $(TOPDIR)lib; \
- (cd $(TOPDIR)lib && ln -sf $(LIBTHREAD_DB_SHARED_FULLNAME) \
- $(LIBTHREAD_DB_SHARED)); \
- (cd $(TOPDIR)lib && ln -sf $(LIBTHREAD_DB_SHARED_FULLNAME) \
- $(LIBTHREAD_DB_SHARED).1); \
+ $(LN) -sf $(LIBTHREAD_DB_SHARED_FULLNAME) \
+ $(TOPDIR)lib/$(LIBTHREAD_DB_SHARED); \
+ $(LN) -sf $(LIBTHREAD_DB_SHARED_FULLNAME) \
+ $(TOPDIR)lib/$(LIBTHREAD_DB_SHARED).1; \
fi;
tags: