summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
blob: 120c0798ea303a8283c40d330ad4ac3a99542997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From c1700f867f876ee33c130a8e28b688e2b1d89663 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Wed, 11 Apr 2018 17:14:55 +0800
Subject: [PATCH] Prevent host contamination

Remove reference to host $(libdir) from .la files.

Upstream-Status: Inappropriate [cross-compile specific]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 gst-libs/ext/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst-libs/ext/Makefile.am b/gst-libs/ext/Makefile.am
index 6cdc048..a19d255 100644
--- a/gst-libs/ext/Makefile.am
+++ b/gst-libs/ext/Makefile.am
@@ -49,7 +49,7 @@ echo "  GEN      $1.la" && \
  echo "library_names=''" && \
  echo "old_library='$1.a'" && \
  echo "inherited_linker_flags=''" && \
- echo "dependency_libs=' -L$(libdir) $(if $2,$(foreach dep,$2,$(abs_builddir)/$(dep).la)) $(call find_library_la,$3 $(LIBM),$(LDFLAGS)) '" && \
+ echo "dependency_libs=' -L $(if $2,$(foreach dep,$2,$(abs_builddir)/$(dep).la)) $(call find_library_la,$3 $(LIBM),$(LDFLAGS)) '" && \
  echo "weak_library_names=''" &&  \
  echo "current=" && \
  echo "age=" && \
@@ -58,7 +58,7 @@ echo "  GEN      $1.la" && \
  echo "shouldnotlink=no" && \
  echo "dlopen=''" && \
  echo "dlpreopen=''" && \
- echo "libdir='$(libdir)'") > $1.la
+ echo "libdir=''") > $1.la
 endef
 
 libavutil.la: