a little less pigsty Qt fix (hopefully)
This commit is contained in:
parent
54a8f2b015
commit
df352db86b
1 changed files with 5 additions and 2 deletions
|
@ -46,7 +46,7 @@ CPPFLAGS=$SLCKFLAGS \
|
||||||
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \
|
--libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \
|
||||||
--infodir=$PREFIX/info
|
--infodir=$PREFIX/info
|
||||||
|
|
||||||
#just close your eyes and pretend these don't exist
|
# just close your eyes and let's pretend these don't exist
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
"x86_64")
|
"x86_64")
|
||||||
sed -i 's|/usr/lib[^6]|/usr/lib64 |g' $(find . -name Makefile)
|
sed -i 's|/usr/lib[^6]|/usr/lib64 |g' $(find . -name Makefile)
|
||||||
|
@ -54,7 +54,10 @@ case $ARCH in
|
||||||
*)
|
*)
|
||||||
esac
|
esac
|
||||||
sed -i 's|-lreadline|-lncursesw -lreadline|g' $(find . -name Makefile)
|
sed -i 's|-lreadline|-lncursesw -lreadline|g' $(find . -name Makefile)
|
||||||
sed -i 's|../../qt/||g' qt/*.moc.cpp
|
for m in qt/*.moc.cpp ; do
|
||||||
|
mv $m $m.bkp ;
|
||||||
|
moc ${m%moc.cpp}h > $m ;
|
||||||
|
done
|
||||||
|
|
||||||
# compilation
|
# compilation
|
||||||
make -j3 PREFIX=$PREFIX
|
make -j3 PREFIX=$PREFIX
|
||||||
|
|
Loading…
Add table
Reference in a new issue