summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ffmpeg.mk4
-rw-r--r--src/sdl.mk3
-rw-r--r--src/xvidcore.mk1
3 files changed, 3 insertions, 5 deletions
diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk
index ed6df9e..12308e7 100644
--- a/src/ffmpeg.mk
+++ b/src/ffmpeg.mk
@@ -19,10 +19,6 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
-
- ln -sf $(PREFIX)/$(TARGET)/lib/xvidcore.a $(PREFIX)/$(TARGET)/lib/libxvidcore.a
- ln -sf $(PREFIX)/$(TARGET)/bin/sdl-config $(PREFIX)/bin/$(TARGET)-sdl-config
-
cd '$(1)' && ./configure \
--cross-prefix='$(TARGET)'- \
--enable-cross-compile \
diff --git a/src/sdl.mk b/src/sdl.mk
index 6bbe724..74bb3a8 100644
--- a/src/sdl.mk
+++ b/src/sdl.mk
@@ -30,7 +30,8 @@ define $(PKG)_BUILD
--enable-directx
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
-
+ ln -sf $(PREFIX)/$(TARGET)/bin/sdl-config $(PREFIX)/bin/$(TARGET)-sdl-config
+
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe' \
diff --git a/src/xvidcore.mk b/src/xvidcore.mk
index 7249c6d..668911f 100644
--- a/src/xvidcore.mk
+++ b/src/xvidcore.mk
@@ -30,4 +30,5 @@ define $(PKG)_BUILD
$(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(PREFIX)/$(TARGET)/include/'
$(INSTALL) -d '$(PREFIX)/$(TARGET)/lib'
$(INSTALL) -m644 '$(1)/build/xvidcore.a' '$(PREFIX)/$(TARGET)/lib/'
+ ln -sf $(PREFIX)/$(TARGET)/lib/xvidcore.a $(PREFIX)/$(TARGET)/lib/libxvidcore.a
endef