diff options
author | SeokYeon Hwang <syeon.hwang@samsung.com> | 2015-12-18 12:07:58 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2015-12-18 20:20:55 +0900 |
commit | eaa76820347df4491d800c4f53c01d8709cb6a1e (patch) | |
tree | 666c241e987e073aadbcc210493cc669efde70f3 /package | |
parent | d19a5d03b0d45a57a47590e73b4dd3e3aaa98373 (diff) | |
download | qemu-eaa76820347df4491d800c4f53c01d8709cb6a1e.tar.gz qemu-eaa76820347df4491d800c4f53c01d8709cb6a1e.tar.bz2 qemu-eaa76820347df4491d800c4f53c01d8709cb6a1e.zip |
build: use script file for correcting PC's prefix
Now emulator-lib-dev package provide script for correcting PC's prefix. So
we use it instead of embedded one.
Change-Id: I57501207c49d81516acd2d3354d160580d6b2a45
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Diffstat (limited to 'package')
-rwxr-xr-x | package/build.linux | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/package/build.linux b/package/build.linux index 375e983a85..5c47441e3b 100755 --- a/package/build.linux +++ b/package/build.linux @@ -24,15 +24,9 @@ prepare() # correct pc's prefix since windows install script is not run # on linux - PCs=$(find ${ROOTDIR}/lib/pkgconfig -name '*.pc') - - for pc in ${PCs}; do - echo "${pc}" - LIB_DIR=${ROOTDIR} - sed -i '/LIBDIR=/d' ${pc} - sed -i '/^prefix=/!b;c\prefix=${LIBDIR}' ${pc} - sed -i "1s|^|LIBDIR=${LIB_DIR}\n|" ${pc} - done + cd ${ROOTDIR}/lib/pkgconfig + ${ROOTDIR}/correct_pc_prefix.sh + cd ${ROOTDIR} # mingw-x doesn't have zlib, so we use our own. export EXTRA_CFLAGS=-I${ROOTDIR}/include |