Add -fPIC so ffms can be linked into a shared library.

Originally committed to SVN as r5282.
This commit is contained in:
Amar Takhar 2011-02-03 18:08:11 +00:00
parent a733260603
commit e46f83e672

View file

@ -1,6 +1,6 @@
include ../Makefile.inc
CXXFLAGS = -Icore -Iinclude -D__UNIX__ -DFFMS_EXPORTS -DHAVE_STRLCPY -D__STDC_CONSTANT_MACROS
CXXFLAGS = -Icore -Iinclude -D__UNIX__ -DFFMS_EXPORTS -DHAVE_STRLCPY -D__STDC_CONSTANT_MACROS -fPIC
CXXFLAGS += $(CFLAGS_LIBAVFORMAT) $(CFLAGS_LIBAVCODEC) $(CFLAGS_LIBAVUTIL) $(CFLAGS_LIBPOSTPROC)
LIB = libffmpegsource_aegisub.a