Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Building C::B on Mac OSX High Sierra

<< < (3/3)

juanfal:
I don't understand what's the use of copying the computer /usr/local/bin complete directory with personal executables and scripts into the final OSX CodeBlocks.app/Contents

It does it in ./bundle.sh

PREFIX_DIR="/usr/local"
..
EXECUTABLES=`echo ${PREFIX_DIR}/bin/* `
..
for file in ${EXECUTABLES}
do
   echo $file
   cp $file "${APPDIR}/Contents/MacOS"  # was this is crazy
   copy_deps "${APPDIR}/Contents/MacOS/$(basename $file)"
done

oBFusCATed:
Have you passed --prefix=something-non-default to ./configure?
I've not seen anything unexpected in the bundle, but I guess I don't have anything in /usr/local.

oBFusCATed:
Yes, this is the expected behaviour. If you install in the default prefix almost everything from /usr/local might end in the bundle. The proper way is to use non-default prefix (--prefix parameter of configure).

Navigation

[0] Message Index

[*] Previous page

Go to full version