summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorDave Yeo <daveryeo@telus.net>2007-09-15 11:09:30 +0000
committerDiego Biurrun <diego@biurrun.de>2007-09-15 11:09:30 +0000
commit203697732519914361a95e2384cd5b0e570faa60 (patch)
tree09ef59365f55341d29d8e4818716734f9b7fc911 /common.mak
parent2a898132a273294eb81925ec68f1277e648bbb2d (diff)
ln is not available on all platforms, so introduce a variable for it
that can be set to a suitable platform-specific command. patch by Dave Yeo, daveryeo telus net Originally committed as revision 10503 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.mak b/common.mak
index bdb707e500..a3940730a7 100644
--- a/common.mak
+++ b/common.mak
@@ -27,7 +27,7 @@ $(LIB): $(STATIC_OBJS)
$(RANLIB) $@
$(SLIBNAME): $(SLIBNAME_WITH_MAJOR)
- ln -sf $^ $@
+ $(LN_S) $^ $@
$(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS)
$(CC) $(SHFLAGS) $(LDFLAGS) -o $@ $^ $(EXTRALIBS) $(EXTRAOBJS)
@@ -74,9 +74,9 @@ install-lib-shared: $(SLIBNAME)
install -m 755 $(SLIBNAME) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
cd "$(SHLIBDIR)" && \
- ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
+ $(LN_S) $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
cd "$(SHLIBDIR)" && \
- ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME)
+ $(LN_S) $(SLIBNAME_WITH_VERSION) $(SLIBNAME)
$(SLIB_INSTALL_EXTRA_CMD)
install-lib-static: $(LIB)