Update build_wxBase

In Debian systems, /etc/ld.so.conf already contains /usr/local/lib, so we just have to do "sudo ldconfig -v".
ki4klf
Tom Early 12 years ago
parent 9dede3b897
commit af315a5f84

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
BAKEFILES=$(PWD)/bakefiles.zip BAKEFILES=${PWD}/bakefiles.zip
if [ -e $BAKEFILES ] if [ -e $BAKEFILES ]
then then
@ -21,13 +21,12 @@ then
sudo make install sudo make install
# add /usr/local/lib to /etc/ld.so.conf, if needed and relink the libraries # add /usr/local/lib to /etc/ld.so.conf, if needed and relink the libraries
grep -q /usr/local/lib /etc/ld.so.conf sudo ldconfig -v
RETVAL=$?
if [ $RETVAL -eq 1 ] echo "==================================================="
then echo "wxBase compiled and installed!"
sudo echo /usr/local/lib >> /etc/ld.so.conf echo "Inspect the 'ldconfig -v' output above to make sure that the wx libraries"
fi echo "are showing up in the /usr/local/lib directory."
sudo ldconfig
else else
echo "$BAKEFILES not found, aborting!" echo "$BAKEFILES not found, aborting!"
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.