I started a build with the debian patch that should fix this. Could you verify if this fixes your issue once it's done building?
https://launchpad.net/~mitchdz/+archive/ubuntu/libsdl2-mantic-multiarch
I tried it quickly in a Mantic VM and still see the issue, but I could be doing something else wrong here.
$ lxc shell m # apt install -y libsdl2-2.0-0 # apt install -y libsdl2-dev # apt install -y clang gcc # CC=clang /usr/bin/sdl2-config --static-libs clang: error: unsupported option '-print-multiarch' clang: error: no input files /usr/lib//libSDL2.a -lm -lasound -lm -ldl -lpthread -lpulse-simple -lpulse -pthread -lsamplerate -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXss -ldrm -lgbm -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon -ldecor-0 -lpthread
I tried using my local build # dpkg -i libsdl2-2.0-0_2.28.3+dfsg-2ubuntu1~mantic1_amd64.deb # dpkg -i libsdl2-dev_2.28.3+dfsg-2ubuntu1~mantic1_amd64.deb # CC=clang /usr/bin/sdl2-config --static-libs clang: error: unsupported option '-print-multiarch' clang: error: no input files /usr/lib/x86_64-linux-gnu/libSDL2.a -lm -lasound -lm -ldl -lpthread -lpulse-simple -lpulse -pthread -lsamplerate -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXss -ldrm -lgbm -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon -ldecor-0 -lpthread
I started a build with the debian patch that should fix this. Could you verify if this fixes your issue once it's done building?
https:/ /launchpad. net/~mitchdz/ +archive/ ubuntu/ libsdl2- mantic- multiarch
I tried it quickly in a Mantic VM and still see the issue, but I could be doing something else wrong here.
$ lxc shell m sdl2-config --static-libs
# apt install -y libsdl2-2.0-0
# apt install -y libsdl2-dev
# apt install -y clang gcc
# CC=clang /usr/bin/
clang: error: unsupported option '-print-multiarch'
clang: error: no input files
/usr/lib//libSDL2.a -lm -lasound -lm -ldl -lpthread -lpulse-simple -lpulse -pthread -lsamplerate -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXss -ldrm -lgbm -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon -ldecor-0 -lpthread
I tried using my local build 2.0-0_2. 28.3+dfsg- 2ubuntu1~ mantic1_ amd64.deb dev_2.28. 3+dfsg- 2ubuntu1~ mantic1_ amd64.deb sdl2-config --static-libs x86_64- linux-gnu/ libSDL2. a -lm -lasound -lm -ldl -lpthread -lpulse-simple -lpulse -pthread -lsamplerate -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXss -ldrm -lgbm -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon -ldecor-0 -lpthread
# dpkg -i libsdl2-
# dpkg -i libsdl2-
# CC=clang /usr/bin/
clang: error: unsupported option '-print-multiarch'
clang: error: no input files
/usr/lib/