mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
libsdl-sdk: Fix configure.in and use autotools do_configure, not a broken imitation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3846 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
1167
meta/packages/libsdl/files/configure_tweak.patch
Normal file
1167
meta/packages/libsdl/files/configure_tweak.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,10 +4,11 @@ SECTION = "libs"
|
||||
LICENSE = "LGPL"
|
||||
DEPENDS = "libx11-sdk libxext-sdk libxrandr-sdk libxrender-sdk"
|
||||
RDEPENDS = "libx11-sdk libxrandr-sdk libxrender-sdk libxext-sdk"
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
|
||||
file://acinclude.m4 \
|
||||
file://configure_tweak.patch;patch=1 \
|
||||
file://kernel-asm-page.patch;patch=1 "
|
||||
S = "${WORKDIR}/SDL-${PV}"
|
||||
|
||||
@@ -24,17 +25,6 @@ EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-thread
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
do_configure() {
|
||||
rm -f ${S}/acinclude.m4
|
||||
cp ${WORKDIR}/acinclude.m4 ${S}/
|
||||
gnu-configize
|
||||
oe_runconf
|
||||
cd ${S}
|
||||
# prevent libtool from linking libs against libstdc++, libgcc, ...
|
||||
cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
|
||||
mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
autotools_stage_all
|
||||
install -m 0644 ${S}/build/libSDLmain.a ${STAGING_LIBDIR}
|
||||
|
||||
Reference in New Issue
Block a user