From c950f3635caa9b2dd562286baa51138e6e30dca1 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Mon, 10 Feb 2014 16:33:26 +1100 Subject: various packages: enable shared builds --- Makefile | 1 + src/cairo.mk | 2 +- src/dlfcn-win32.mk | 4 +++- src/faad2.mk | 9 +++------ src/ffmpeg.mk | 4 +++- src/fribidi.mk | 3 ++- src/icu4c-2-dll_fix.patch | 3 +++ src/lame.mk | 5 +---- src/libcdio.mk | 4 +--- src/libffi.mk | 4 +--- src/libltdl.mk | 4 +--- src/libmad.mk | 6 ++---- src/libmpcdec.mk | 4 +--- src/libsamplerate.mk | 6 +++--- src/libusb1.mk | 6 +----- src/mman-win32.mk | 4 +--- src/ogg.mk | 5 +---- src/opencore-amr.mk | 4 +--- src/opus.mk | 5 +---- src/pixman.mk | 5 +---- src/pkgconf.mk | 1 + src/portmidi.mk | 9 ++++----- src/protobuf.mk | 4 +--- src/theora.mk | 8 ++++---- src/vcdimager.mk | 6 ++---- src/vo-aacenc.mk | 4 +--- src/vo-amrwbenc.mk | 4 +--- src/vorbis.mk | 5 +---- src/winpthreads.mk | 5 +---- src/x264.mk | 7 ++----- src/xvidcore.mk | 10 ++++------ 31 files changed, 54 insertions(+), 97 deletions(-) diff --git a/Makefile b/Makefile index 1029ce5..789cdf9 100644 --- a/Makefile +++ b/Makefile @@ -287,6 +287,7 @@ $(PREFIX)/$(3)/installed/$(1): $(TOP_DIR)/src/$(1).mk \ build-only-$(1)_$(3): PKG = $(1) build-only-$(1)_$(3): TARGET = $(3) build-only-$(1)_$(3): BUILD_$(if $(findstring shared,$(3)),SHARED,STATIC) = TRUE +build-only-$(1)_$(3): LIB_SUFFIX = $(if $(findstring shared,$(3)),dll,a) build-only-$(1)_$(3): CMAKE_TOOLCHAIN_FILE = $(PREFIX)/$(3)/share/cmake/mxe-conf.cmake build-only-$(1)_$(3): $(if $(value $(call LOOKUP_PKG_RULE,$(1),BUILD,$(3))), diff --git a/src/cairo.mk b/src/cairo.mk index 5ea896d..0ecac21 100644 --- a/src/cairo.mk +++ b/src/cairo.mk @@ -42,7 +42,7 @@ define $(PKG)_BUILD --enable-pdf \ --enable-svg \ --disable-pthread \ - CFLAGS="$(CFLAGS) -DCAIRO_WIN32_STATIC_BUILD" \ + CFLAGS="$(CFLAGS) $(if $(BUILD_STATIC),-DCAIRO_WIN32_STATIC_BUILD)" \ LIBS="-lmsimg32 -lgdi32 `$(TARGET)-pkg-config pixman-1 --libs`" $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef diff --git a/src/dlfcn-win32.mk b/src/dlfcn-win32.mk index 30e4163..a375e0f 100644 --- a/src/dlfcn-win32.mk +++ b/src/dlfcn-win32.mk @@ -20,7 +20,9 @@ define $(PKG)_BUILD cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --cross-prefix='$(TARGET)-' \ - --disable-shared + $(if $(BUILD_STATIC), \ + --enable-static --disable-shared , \ + --disable-static --enable-shared ) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install diff --git a/src/faad2.mk b/src/faad2.mk index 5d49a7d..4a3744d 100644 --- a/src/faad2.mk +++ b/src/faad2.mk @@ -18,10 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared - $(MAKE) -C '$(1)' -j '$(JOBS)' - $(MAKE) -C '$(1)' -j 1 install + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS='-no-undefined' + $(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined' endef - diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index d12fa40..c2094c1 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -27,7 +27,9 @@ define $(PKG)_BUILD --arch=$(patsubst -%,,$(TARGET)) \ --target-os=mingw32 \ --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared \ + $(if $(BUILD_STATIC), \ + --enable-static --disable-shared , \ + --disable-static --enable-shared ) \ --disable-debug \ --enable-memalign-hack \ --disable-pthreads \ diff --git a/src/fribidi.mk b/src/fribidi.mk index b50cc98..297e29b 100644 --- a/src/fribidi.mk +++ b/src/fribidi.mk @@ -17,7 +17,8 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - $(SED) -i 's,__declspec(dllimport),,' '$(1)/lib/fribidi-common.h' + $(if $(BUILD_STATIC),\ + $(SED) -i 's/__declspec(dllimport)//' '$(1)/lib/fribidi-common.h') cd '$(1)' && ./configure \ $(MXE_CONFIGURE_OPTS) \ --disable-debug \ diff --git a/src/icu4c-2-dll_fix.patch b/src/icu4c-2-dll_fix.patch index e9511ec..c484ea9 100644 --- a/src/icu4c-2-dll_fix.patch +++ b/src/icu4c-2-dll_fix.patch @@ -1,3 +1,6 @@ +This file is part of MXE. +See index.html for further information. + diff -urN icu/source/extra/uconv/uconv.cpp icu-patch/source/extra/uconv/uconv.cpp --- icu/source/extra/uconv/uconv.cpp 2013-10-04 23:48:58.000000000 +0300 +++ icu-patch/source/extra/uconv/uconv.cpp 2013-12-15 15:04:00.758431267 +0200 diff --git a/src/lame.mk b/src/lame.mk index 959e1b8..027fad2 100644 --- a/src/lame.mk +++ b/src/lame.mk @@ -21,10 +21,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' MXE_CFLAGS= $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/libcdio.mk b/src/libcdio.mk index 09b02ce..57cc894 100644 --- a/src/libcdio.mk +++ b/src/libcdio.mk @@ -17,8 +17,6 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/libffi.mk b/src/libffi.mk index 373526e..7d88a32 100644 --- a/src/libffi.mk +++ b/src/libffi.mk @@ -19,9 +19,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)/$(TARGET)' -j '$(JOBS)' $(MAKE) -C '$(1)/$(TARGET)' -j 1 install diff --git a/src/libltdl.mk b/src/libltdl.mk index d257b4f..345e136 100644 --- a/src/libltdl.mk +++ b/src/libltdl.mk @@ -16,9 +16,7 @@ endef define $(PKG)_BUILD cd '$(1)/libltdl' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared \ + $(MXE_CONFIGURE_OPTS) \ --enable-ltdl-install $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)' $(MAKE) -C '$(1)/libltdl' -j 1 install diff --git a/src/libmad.mk b/src/libmad.mk index 77560f5..cfcbae3 100644 --- a/src/libmad.mk +++ b/src/libmad.mk @@ -19,8 +19,6 @@ endef define $(PKG)_BUILD $(SED) -i '/-fforce-mem/d' '$(1)'/configure cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' - $(MAKE) -C '$(1)' -j '$(JOBS)' install + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j '$(JOBS)' install LDFLAGS='-no-undefined' endef diff --git a/src/libmpcdec.mk b/src/libmpcdec.mk index f490d9a..ff57872 100644 --- a/src/libmpcdec.mk +++ b/src/libmpcdec.mk @@ -24,8 +24,6 @@ define $(PKG)_BUILD cd '$(1)' && libtoolize cd '$(1)' && autoreconf cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/libsamplerate.mk b/src/libsamplerate.mk index b44ff22..5959804 100644 --- a/src/libsamplerate.mk +++ b/src/libsamplerate.mk @@ -11,7 +11,7 @@ $(PKG)_URL := http://www.mega-nerd.com/SRC/$(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := gcc define $(PKG)_UPDATE - $(WGET) -q -O- 'http://www.mega-nerd.com/SRC/$(PKG)-$($(PKG)_VERSION)' | \ + $(WGET) -q -O- 'http://www.mega-nerd.com/SRC/download.html' | \ $(SED) -n 's,.*$(PKG)-\([0-9][^>]*\)\.tar.*,\1,p' | \ grep -v 'alpha' | \ grep -v 'beta' | \ @@ -21,6 +21,6 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - $(MXE_CONFIGURE_OPTS) - $(MAKE) -C '$(1)' -j 1 install LDFLAGS="-no-undefined" + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined' endef diff --git a/src/libusb1.mk b/src/libusb1.mk index 151a8cc..735f60b 100644 --- a/src/libusb1.mk +++ b/src/libusb1.mk @@ -18,10 +18,6 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --enable-static \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' install endef diff --git a/src/mman-win32.mk b/src/mman-win32.mk index bfe7c8d..ef722b4 100644 --- a/src/mman-win32.mk +++ b/src/mman-win32.mk @@ -19,12 +19,10 @@ define $(PKG)_BUILD cd '$(1)' && chmod +x configure cd '$(1)' && ./configure \ --cross-prefix='$(TARGET)'- \ - --enable-static \ + $(if $(BUILD_STATIC),--enable-static ) \ --prefix='$(PREFIX)/$(TARGET)' \ --libdir='$(PREFIX)/$(TARGET)/lib' \ --incdir='$(PREFIX)/$(TARGET)/include/sys' $(MAKE) -C '$(1)' -j 1 $(MAKE) -C '$(1)' -j 1 install endef - - diff --git a/src/ogg.mk b/src/ogg.mk index 808e21b..2b3da5b 100644 --- a/src/ogg.mk +++ b/src/ogg.mk @@ -18,10 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef diff --git a/src/opencore-amr.mk b/src/opencore-amr.mk index 5347383..3bbe8d3 100644 --- a/src/opencore-amr.mk +++ b/src/opencore-amr.mk @@ -18,9 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/opus.mk b/src/opus.mk index cc609a1..faafe02 100644 --- a/src/opus.mk +++ b/src/opus.mk @@ -22,10 +22,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef diff --git a/src/pixman.mk b/src/pixman.mk index 89fe077..0bd0ccf 100644 --- a/src/pixman.mk +++ b/src/pixman.mk @@ -19,9 +19,6 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef diff --git a/src/pkgconf.mk b/src/pkgconf.mk index 146ba3d..d7791ee 100644 --- a/src/pkgconf.mk +++ b/src/pkgconf.mk @@ -50,6 +50,7 @@ define $(PKG)_BUILD_COMMON (echo 'set(CMAKE_SYSTEM_NAME Windows)'; \ echo 'set(MSYS 1)'; \ echo 'set(BUILD_SHARED_LIBS $(if $(BUILD_SHARED),ON,OFF))'; \ + echo 'set(LIBTYPE $(if $(BUILD_SHARED),SHARED,STATIC))'; \ echo 'set(CMAKE_BUILD_TYPE Release)'; \ echo 'set(CMAKE_FIND_ROOT_PATH $(PREFIX)/$(TARGET))'; \ echo 'set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)'; \ diff --git a/src/portmidi.mk b/src/portmidi.mk index 2b2fe29..18c2b69 100644 --- a/src/portmidi.mk +++ b/src/portmidi.mk @@ -20,15 +20,14 @@ endef define $(PKG)_BUILD mkdir '$(1)/build' cd '$(1)/build' && cmake .. \ - -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ - -DLIBTYPE=STATIC + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' - $(MAKE) -C '$(1)/build' -j '$(JOBS)' portmidi-static + $(MAKE) -C '$(1)/build' -j '$(JOBS)' portmidi-$(if $(BUILD_STATIC),static,dynamic) # install library files $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' - $(INSTALL) -m644 '$(1)/build/libportmidi_s.a' \ - '$(PREFIX)/$(TARGET)/lib/libportmidi.a' + $(INSTALL) -m644 '$(1)/build/libportmidi$(if $(BUILD_STATIC),_s).$(LIB_SUFFIX)' \ + '$(PREFIX)/$(TARGET)/lib/libportmidi.$(LIB_SUFFIX)' # install include files $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' diff --git a/src/protobuf.mk b/src/protobuf.mk index 411f4b5..00921bc 100644 --- a/src/protobuf.mk +++ b/src/protobuf.mk @@ -26,9 +26,7 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)' -j 1 distclean # Second step: Build for target system. cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared \ + $(MXE_CONFIGURE_OPTS) \ --with-zlib \ --with-protoc=src/protoc_host $(MAKE) -C '$(1)' -j '$(JOBS)' diff --git a/src/theora.mk b/src/theora.mk index 5b1343b..4e0b0aa 100644 --- a/src/theora.mk +++ b/src/theora.mk @@ -17,10 +17,10 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD + # https://aur.archlinux.org/packages/mi/mingw-w64-libtheora/PKGBUILD + $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoradec-all.def' + $(SED) -i 's,EXPORTS,,' '$(1)/win32/xmingw32/libtheoraenc-all.def' cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA= endef diff --git a/src/vcdimager.mk b/src/vcdimager.mk index a03d4d5..88ae949 100644 --- a/src/vcdimager.mk +++ b/src/vcdimager.mk @@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 8c245555c3e21dcbc3d4dbb2ecca74f609545424 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.gnu.org/gnu/vcdimager/$(PKG)-$($(PKG)_VERSION).tar.gz -$(PKG)_DEPS := gcc popt libxml2 +$(PKG)_DEPS := gcc libcdio libxml2 popt define $(PKG)_UPDATE echo 'TODO: Updates for package vcdimager need to be written.' >&2; @@ -18,8 +18,6 @@ endef define $(PKG)_BUILD cd '$(1)' && autoconf cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/vo-aacenc.mk b/src/vo-aacenc.mk index 236fb44..7eb1e90 100644 --- a/src/vo-aacenc.mk +++ b/src/vo-aacenc.mk @@ -19,9 +19,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/vo-amrwbenc.mk b/src/vo-amrwbenc.mk index 9784ed6..6f64848 100644 --- a/src/vo-amrwbenc.mk +++ b/src/vo-amrwbenc.mk @@ -19,9 +19,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/vorbis.mk b/src/vorbis.mk index 361bba5..9dfa465 100644 --- a/src/vorbis.mk +++ b/src/vorbis.mk @@ -18,10 +18,7 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --disable-shared \ - --prefix='$(PREFIX)/$(TARGET)' \ + $(MXE_CONFIGURE_OPTS) \ PKG_CONFIG='$(TARGET)-pkg-config' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef diff --git a/src/winpthreads.mk b/src/winpthreads.mk index 10e77cc..342482a 100644 --- a/src/winpthreads.mk +++ b/src/winpthreads.mk @@ -19,10 +19,7 @@ endef define $(PKG)_BUILD_mingw-w64 cd '$(1)/mingw-w64-libraries/winpthreads' && ./configure \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --enable-static \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)/mingw-w64-libraries/winpthreads' -j '$(JOBS)' install $(PTHREADS_TEST) diff --git a/src/x264.mk b/src/x264.mk index d4d36e5..6ddfb7d 100644 --- a/src/x264.mk +++ b/src/x264.mk @@ -17,13 +17,10 @@ endef define $(PKG)_BUILD $(SED) -i 's,yasm,$(TARGET)-yasm,g' '$(1)/configure' cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) \ --cross-prefix='$(TARGET)'- \ - --host='$(TARGET)' \ - --prefix='$(PREFIX)/$(TARGET)' \ - --disable-shared \ - --enable-static \ --enable-win32thread \ - --disable-lavf \ # Avoid circular dependency with ffmpeg. Remove if undesired. + --disable-lavf \ --disable-swscale # Avoid circular dependency with ffmpeg. Remove if undesired. $(MAKE) -C '$(1)' -j 1 uninstall $(MAKE) -C '$(1)' -j '$(JOBS)' diff --git a/src/xvidcore.mk b/src/xvidcore.mk index d28d366..ef2933e 100644 --- a/src/xvidcore.mk +++ b/src/xvidcore.mk @@ -19,15 +19,13 @@ endef define $(PKG)_BUILD cd '$(1)' && autoconf cd '$(1)' && ./configure \ - --host='$(TARGET)' \ - --build="`config.guess`" \ - --prefix='$(PREFIX)/$(TARGET)' - $(MAKE) -C '$(1)' -j 1 BUILD_DIR='build' SHARED_LIB= + $(MXE_CONFIGURE_OPTS) + $(MAKE) -C '$(1)' -j 1 BUILD_DIR='build' $(if $(BUILD_STATIC),SHARED,STATIC)_LIB= $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' $(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' + $(INSTALL) -m644 '$(1)/build/xvidcore.$(LIB_SUFFIX)' '$(PREFIX)/$(TARGET)/lib/' + ln -sf '$(PREFIX)/$(TARGET)/lib/xvidcore.$(LIB_SUFFIX)' '$(PREFIX)/$(TARGET)/lib/libxvidcore.$(LIB_SUFFIX)' endef define $(PKG)_BUILD_x86_64-w64-mingw32 -- cgit v0.12