Skip to content

Commit

Permalink
Try to work around an automake/libtool glitch on MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
agraef committed Jun 18, 2024
1 parent bdf84b1 commit b9661c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions externals/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,11 @@ endif
# default gemmacoswindow which doesn't work for me, YMMV.
gem_window = --with-sdl2 --with-sdl2-LIBS="-L$(usrlocal)/lib -lSDL2" --with-defaultwindow=gemsdl2window

# As of automake 1.16.5 from homebrew, libtool compilation of Objective C++
# sources seem to be broken. As a work-around, the LIBTOOLFLAGS=--tag=CXX
# setting appears to fix that.
export LIBTOOLFLAGS = --tag=CXX

$(gem_src)/Gem.pd_darwin: $(gem_src)/configure
cd $(gem_src) && ./configure \
CXXFLAGS="-DHAVE_S_STUFF_H $(CFLAGS_ADD)" \
Expand Down

0 comments on commit b9661c7

Please sign in to comment.