diff options
author | James Almer <jamrial@gmail.com> | 2017-11-11 10:32:09 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-11 11:29:16 -0300 |
commit | 87865bf6c7001e6fd8c536a247f71a9a426c3bd0 (patch) | |
tree | 1a97298933e784025f282c21cbd15b3ce2a84711 /ffbuild | |
parent | f87ad3a058bfee786e942106c5c3450c02a66d48 (diff) | |
parent | abf1c058d1bd0ed1b820ea5e501a4484756f00b0 (diff) | |
download | ffmpeg-87865bf6c7001e6fd8c536a247f71a9a426c3bd0.tar.gz |
Merge commit 'abf1c058d1bd0ed1b820ea5e501a4484756f00b0'
* commit 'abf1c058d1bd0ed1b820ea5e501a4484756f00b0':
msvc: Properly specify dllexport for data symbols shared across dll boundaries
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'ffbuild')
-rw-r--r-- | ffbuild/library.mak | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffbuild/library.mak b/ffbuild/library.mak index ed269fdab6..f85ee1ebbf 100644 --- a/ffbuild/library.mak +++ b/ffbuild/library.mak @@ -31,6 +31,8 @@ define RULES $(TOOLS): THISLIB = $(FULLNAME:%=$(LD_LIB)) $(TESTPROGS): THISLIB = $(SUBDIR)$(LIBNAME) +$(LIBOBJS): CPPFLAGS += -DBUILDING_$(NAME) + $(TESTPROGS) $(TOOLS): %$(EXESUF): %.o $$(LD) $(LDFLAGS) $(LDEXEFLAGS) $$(LD_O) $$(filter %.o,$$^) $$(THISLIB) $(FFEXTRALIBS) $$(EXTRALIBS-$$(*F)) $$(ELIBS) |