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.

env.sh 869B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. ##############################################################################################
  3. # MacOS X default environment for Carla
  4. source data/macos/common.env
  5. if [ $(clang -v 2>&1 | grep version | cut -d' ' -f4 | cut -d'.' -f1) -lt 11 ]; then
  6. export MACOS_VERSION_MIN="10.8"
  7. else
  8. export MACOS_VERSION_MIN="10.12"
  9. fi
  10. export CC=clang
  11. export CXX=clang++
  12. export CFLAGS="-I${TARGETDIR}/carla64/include -m64 -mmacosx-version-min=${MACOS_VERSION_MIN}"
  13. export CXXFLAGS="${CFLAGS} -stdlib=libc++"
  14. export LDFLAGS="-L${TARGETDIR}/carla64/lib -m64 -stdlib=libc++"
  15. unset CPPFLAGS
  16. export MACOS="true"
  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 MOC_QT5=moc
  20. export RCC_QT5=rcc
  21. export UIC_QT5=uic