diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-05-27 11:38:38 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-05-29 16:49:16 +0200 |
commit | c5fd4b50610f62cbb3baa4f4108139363128dea1 (patch) | |
tree | a15ffc8772cee7d7bc1ebc3cb80856daf26591fc /library.mak | |
parent | 535a742c2695a9e0c586b50d7fa76e318232ff24 (diff) | |
download | ffmpeg-c5fd4b50610f62cbb3baa4f4108139363128dea1.tar.gz |
build: Simplify postprocessing of linker version script files
Generate the files in a single postprocessing step w/o intermediate files.
Diffstat (limited to 'library.mak')
-rw-r--r-- | library.mak | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library.mak b/library.mak index 712b7e1c6e..44087aae1c 100644 --- a/library.mak +++ b/library.mak @@ -35,6 +35,9 @@ $(TESTPROGS): THISLIB = $(SUBDIR)$(LIBNAME) $(TESTPROGS) $(TOOLS): %$(EXESUF): %.o $(EXEOBJS) $$(LD) $(LDFLAGS) $(LDEXEFLAGS) $$(LD_O) $$(filter %.o,$$^) $$(THISLIB) $(FFEXTRALIBS) $$(ELIBS) +$(SUBDIR)lib$(NAME).ver: $(SUBDIR)lib$(NAME).v $(OBJS) + $$(M)sed 's/MAJOR/$(lib$(NAME)_VERSION_MAJOR)/' $$< | $(VERSION_SCRIPT_POSTPROCESS_CMD) > $$@ + $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR) $(Q)cd ./$(SUBDIR) && $(LN_S) $(SLIBNAME_WITH_MAJOR) $(SLIBNAME) |