summarylogtreecommitdiffstats
path: root/amldevice_arch_compat.diff
blob: c6e254255ca008345f04ed01ebf41be185e89dff (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
diff --git a/Makefile b/Makefile
index 7b0b31e..d6e4dd7 100644
--- a/Makefile
+++ b/Makefile
@@ -47,8 +47,7 @@ SOFILE = libvdr-$(PLUGIN).so
 
 ### Includes and Defines (add further entries here):
 
-LDLIBS   += $(shell pkg-config --libs libamcodec)
-INCLUDES += $(shell pkg-config --cflags libamcodec)
+LDLIBS   += -L/usr/lib/aml_lib -lamavutils -lamadec -lamcodec
 
 DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
 
diff --git a/amldevice.c b/amldevice.c
index 3662f9a..a29a52d 100644
--- a/amldevice.c
+++ b/amldevice.c
@@ -10,7 +10,7 @@ extern "C" {
 #include <codec.h>
 }
 
-#include <vdr/libsi/si.h>
+#include <libsi/si.h>
 
 #include "tools.h"
 #include "amldevice.h"