diff options
Diffstat (limited to 'recipes/openh264/0001-Add-version-suffix.patch')
-rw-r--r-- | recipes/openh264/0001-Add-version-suffix.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/recipes/openh264/0001-Add-version-suffix.patch b/recipes/openh264/0001-Add-version-suffix.patch new file mode 100644 index 00000000..42924f75 --- /dev/null +++ b/recipes/openh264/0001-Add-version-suffix.patch @@ -0,0 +1,65 @@ +From 18b2d54c3ed52506ca31bb48a1516bb08d92eadd Mon Sep 17 00:00:00 2001 +From: Zaheer Abbas Merali <zaheermerali@gmail.com> +Date: Tue, 13 Jan 2015 11:15:25 -0800 +Subject: [PATCH] Add version suffix + +--- + Makefile | 2 +- + build/platform-android.mk | 5 +++-- + build/platform-freebsd.mk | 1 + + build/platform-linux.mk | 1 + + 4 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index 4fa3095..3b9ff8b 100644 +--- a/Makefile ++++ b/Makefile +@@ -181,7 +181,7 @@ endif + endif + + ifneq (ios, $(OS)) +-libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) ++libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER) + else + libraries: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) + endif +diff --git a/build/platform-android.mk b/build/platform-android.mk +index aab007d..e95d270 100644 +--- a/build/platform-android.mk ++++ b/build/platform-android.mk +@@ -1,9 +1,10 @@ + ARCH = arm + include $(SRC_PATH)build/arch.mk ++SHAREDLIB_DIR = $(PREFIX)/lib + SHAREDLIBSUFFIX = so + # Android APK/JARs expect libraries to be unversioned +-SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX) +-SHLDFLAGS = ++SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION) ++SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER) + NDKLEVEL = 12 + ifeq ($(ARCH), arm) + ifneq ($(APP_ABI), armeabi) +diff --git a/build/platform-freebsd.mk b/build/platform-freebsd.mk +index 49be825..3d0feaa 100644 +--- a/build/platform-freebsd.mk ++++ b/build/platform-freebsd.mk +@@ -1,4 +1,5 @@ + include $(SRC_PATH)build/arch.mk ++SHAREDLIB_DIR = $(PREFIX)/lib + SHAREDLIBSUFFIX = so + SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION) + SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER) +diff --git a/build/platform-linux.mk b/build/platform-linux.mk +index bb0dd84..e98b972 100644 +--- a/build/platform-linux.mk ++++ b/build/platform-linux.mk +@@ -1,4 +1,5 @@ + include $(SRC_PATH)build/arch.mk ++SHAREDLIB_DIR = $(PREFIX)/lib + SHAREDLIBSUFFIX = so + SHAREDLIBSUFFIXVER=$(SHAREDLIBSUFFIX).$(SHAREDLIBVERSION) + SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER) +-- +1.9.1 + |