Skip to content

Commit

Permalink
Add missing pthread dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbea committed Apr 28, 2021
1 parent 6b182f7 commit 93cf126
Show file tree
Hide file tree
Showing 3 changed files with 512 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.am
Expand Up @@ -2,6 +2,7 @@ warningflags = -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-ign
commoncflags = -O3 -fvisibility=hidden $(warningflags) -I$(srcdir)/include $(DEBUGCFLAGS) $(MFLAGS) $(UNICODECFLAGS) $(STACKREALIGN)
AM_CXXFLAGS = -std=c++11 $(commoncflags)
AM_CFLAGS = -std=c99 $(commoncflags)
ACLOCAL_AMFLAGS = -I m4



Expand Down Expand Up @@ -80,8 +81,8 @@ pkginclude_HEADERS = include/VapourSynth.h \
pkgconfig_DATA += pc/vapoursynth.pc

libvapoursynth_la_LDFLAGS = -no-undefined -avoid-version $(UNDEFINEDLDFLAGS)
libvapoursynth_la_CPPFLAGS = $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"'
libvapoursynth_la_LIBADD = $(ZIMG_LIBS) $(DLOPENLIB) libexprfilter.la
libvapoursynth_la_CPPFLAGS = $(PTHREAD_CFLAGS) $(ZIMG_CFLAGS) -DVS_PATH_PLUGINDIR='"$(PLUGINDIR)"'
libvapoursynth_la_LIBADD = $(PTHREAD_LIBS) $(ZIMG_LIBS) $(DLOPENLIB) libexprfilter.la


if X86ASM
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Expand Up @@ -11,9 +11,11 @@ LT_INIT([win32-dll])
AC_PROG_CC
AC_PROG_CXX

AC_CONFIG_MACRO_DIRS([m4])

AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
AX_PTHREAD


AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], [Enable compilation options required for debugging. (default=no)]))
Expand Down

0 comments on commit 93cf126

Please sign in to comment.