Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
834B

  1. #!/bin/bash
  2. ##############################################################################################
  3. # MacOS X default environment for Carla
  4. source data/macos/common.env
  5. export CC=clang
  6. export CXX=clang++
  7. export MACOS="true"
  8. if [ $(clang -v 2>&1 | grep version | cut -d' ' -f4 | cut -d'.' -f1) -lt 9 ]; then
  9. export MACOS_OLD="true"
  10. fi
  11. export CC=clang
  12. export CXX=clang++
  13. export CFLAGS="-I${TARGETDIR}/carla64/include -m64"
  14. export CXXFLAGS="${CFLAGS}"
  15. export LDFLAGS="-L${TARGETDIR}/carla64/lib -m64"
  16. unset CPPFLAGS
  17. export PATH=${TARGETDIR}/carla/bin:${TARGETDIR}/carla64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  18. export PKG_CONFIG_PATH=${TARGETDIR}/carla/lib/pkgconfig:${TARGETDIR}/carla64/lib/pkgconfig
  19. #export DEFAULT_QT=5
  20. #export PYRCC5=$TARGETDIR/carla/bin/pyrcc5
  21. #export PYUIC5=$TARGETDIR/carla/bin/pyuic5