diff -Naur libvpx-0.9.2-git/build/make/configure.sh libvpx-0.9.2-git-haiku/build/make/configure.sh
|
old
|
new
|
|
| 905 | 908 | # Almost every platform uses pthreads. |
| 906 | 909 | if enabled multithread; then |
| 907 | 910 | case ${toolchain} in |
| 908 | | *-win*);; |
| 909 | | *) check_header pthread.h && add_extralibs -lpthread |
| | 911 | *-win*) |
| | 912 | ;; |
| | 913 | *linux*|*bsd*) |
| | 914 | check_header pthread.h && add_extralibs -lpthread |
| | 915 | ;; |
| | 916 | *-haiku*) |
| | 917 | check_header pthread.h |
| | 918 | ;; |
| 910 | 919 | esac |
| 911 | 920 | fi |
| 912 | 921 | |
diff -Naur libvpx-0.9.2-git/examples.mk libvpx-0.9.2-git-haiku/examples.mk
|
old
|
new
|
|
| 72 | 72 | |
| 73 | 73 | |
| 74 | 74 | # Handle extra library flags depending on codec configuration |
| | 75 | ifeq ($(TOOLCHAIN),Unix) |
| 75 | 76 | CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m |
| | 77 | endif |
| 76 | 78 | |
| 77 | 79 | # |
| 78 | 80 | # End of specified files. The rest of the build rules should happen |
diff -Naur libvpx-0.9.2-git/libs.mk libvpx-0.9.2-git-haiku/libs.mk
|
old
|
new
|
|
| 182 | 182 | LIBS-$(BUILD_LIBVPX_SO) += $(BUILD_PFX)$(LIBVPX_SO) |
| 183 | 183 | $(BUILD_PFX)$(LIBVPX_SO): $(LIBVPX_OBJS) libvpx.ver |
| 184 | 184 | $(BUILD_PFX)$(LIBVPX_SO): extralibs += -lm -pthread |
| | 185 | ifeq ($(TOOLCHAIN),Haiku) |
| | 186 | extralibs += |
| | 187 | endif |
| 185 | 188 | $(BUILD_PFX)$(LIBVPX_SO): SONAME = libvpx.so.$(VERSION_MAJOR) |
| 186 | 189 | $(BUILD_PFX)$(LIBVPX_SO): SO_VERSION_SCRIPT = libvpx.ver |
| 187 | 190 | LIBVPX_SO_SYMLINKS := $(addprefix $(LIBSUBDIR)/, \ |