Browse Source

fix carla build

master
parent
commit
5b1a8134f5
Signed by: alex GPG Key ID: 022EAE42313D70F3
  1. 2
      .builds/ubuntu2004.yml
  2. 3
      src/carla.mk

2
.builds/ubuntu2004.yml

@ -49,7 +49,7 @@ tasks:
tmpdir=carla-tmp
sshopts="ssh -o StrictHostKeyChecking=no"
# do 64bit
prefix="usr/x86_64-w64-mingw32.static"
prefix="usr/x86_64-w64-mingw32.shared"
mkdir -p $tmpdir/include
mkdir -p $tmpdir/lib/pkgconfig
cp -R $prefix/include/carla $tmpdir/include/

3
src/carla.mk

@ -13,7 +13,8 @@ define $(PKG)_BUILD
cd '$(SOURCE_DIR)' && \
$(SED) -i -e "s|NATIVE_LINK_FLAGS) -o|NATIVE_LINK_FLAGS) -L$(PREFIX)/$(TARGET)/lib -lintl -o|g" source/plugin/Makefile source/bridges-plugin/Makefile && \
$(SED) -i -e "s|\t@|\t|g" source/bridges-plugin/Makefile source/plugin/Makefile && \
$(SED) -i -e "s| wine | touch |g" source/plugin/Makefile
$(SED) -i -e "s| wine | touch |g" source/plugin/Makefile && \
$(SED) -i -e 's|bin/carla.lv2/\*.ttl| |' Makefile
cd '$(SOURCE_DIR)' && $(MAKE) -j '$(JOBS)' \
CC=$(subst shared,static,$(TARGET))-gcc CXX=$(subst shared,static,$(TARGET))-g++ \
PKG_CONFIG=$(subst shared,static,$(TARGET))-pkg-config BUILDING_FOR_WINDOWS=true

Loading…
Cancel
Save