diff options
author | Diego Biurrun | 2012-08-27 05:09:29 +0200 |
---|---|---|
committer | Diego Biurrun | 2012-08-27 20:37:48 +0200 |
commit | 8f7c26e39297c8ecc8670a04936e47fbfc33439b (patch) | |
tree | 48c1be47416a9ec95a8b08e028f3fbd5c447f9d0 /library.mak | |
parent | d5683aba5a4ca142ce9d446b565f7310107872c3 (diff) |
build: Use portable abstraction for linker/hostcc output file syntax
Diffstat (limited to 'library.mak')
-rw-r--r-- | library.mak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library.mak b/library.mak index 9742ac4b7b..165a78204f 100644 --- a/library.mak +++ b/library.mak @@ -35,14 +35,14 @@ install-libs-$(CONFIG_SHARED): install-lib$(NAME)-shared define RULES $(EXAMPLES) $(TESTPROGS) $(TOOLS): %$(EXESUF): %.o - $$(LD) $(LDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS) + $$(LD) $(LDFLAGS) $$(LD_O) $$^ -l$(FULLNAME) $(FFEXTRALIBS) $$(ELIBS) $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR) $(Q)cd ./$(SUBDIR) && $(LN_S) $(SLIBNAME_WITH_MAJOR) $(SLIBNAME) $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)lib$(NAME).ver $(DEP_LIBS) $(SLIB_CREATE_DEF_CMD) - $$(LD) $(SHFLAGS) $(LDFLAGS) -o $$@ $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS) + $$(LD) $(SHFLAGS) $(LDFLAGS) $$(LD_O) $$(filter %.o,$$^) $(FFEXTRALIBS) $(EXTRAOBJS) $(SLIB_EXTRA_CMD) clean:: |