summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libswscale/Makefile2
-rw-r--r--libswscale/log2_tab.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index 067e2b9410..a60b05748d 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -15,6 +15,8 @@ OBJS = hscale_fast_bilinear.o \
utils.o \
yuv2rgb.o \
+OBJS-$(CONFIG_SHARED) += log2_tab.o
+
# Windows resource file
SLIBOBJS-$(HAVE_GNU_WINDRES) += swscaleres.o
diff --git a/libswscale/log2_tab.c b/libswscale/log2_tab.c
new file mode 100644
index 0000000000..47a1df03b7
--- /dev/null
+++ b/libswscale/log2_tab.c
@@ -0,0 +1 @@
+#include "libavutil/log2_tab.c"