Ports: Link LibCoreBasic when included

Due to the LibCoreBasic split it is now needed to add -lcorebasic
when the EventLoop is used, this will fix at least 2 ports from
building: SDL2 and xmp-cli
This commit is contained in:
chocolateimage 2024-10-10 11:58:04 +02:00 committed by Nico Weber
parent 9c20df1684
commit facfa0d95e
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ configopts=(
"-DPULSEAUDIO=OFF" "-DPULSEAUDIO=OFF"
"-DJACK=OFF" "-DJACK=OFF"
"-DSDL_LIBSAMPLERATE=OFF" # Disabled to prevent potential collision with host libsamplerate "-DSDL_LIBSAMPLERATE=OFF" # Disabled to prevent potential collision with host libsamplerate
"-DEXTRA_LDFLAGS=-laudio;-liconv;-ldl" "-DEXTRA_LDFLAGS=-lcorebasic;-laudio;-liconv"
) )
depends=("libiconv") depends=("libiconv")

View file

@ -29,7 +29,7 @@ index b65eb85244acec722b2f240976f184f06db11a27..6745ed1d04cde08b9811781c2bfe552d
endif endif
+xmp_SOURCES += sound_serenity.cpp +xmp_SOURCES += sound_serenity.cpp
+xmp_LDADD += -lcore -lcoreminimal -lipc -laudio -lstdc++ +xmp_LDADD += -lcore -lcoreminimal -lcorebasic -lipc -laudio -lstdc++
+ +
man_MANS = xmp.1 man_MANS = xmp.1