VOGONS


First post, by Farnsworth

User metadata
Rank Newbie
Rank
Newbie

Yesterday I built DOSBox on Mac. But I have one question.
How can I include the SDL in the executable?
If I build the SDL it's located in /usr/local/lib/ (a hidden directory)
But the official DOSBox has the SDL included in the executable (located at DOSBox.app/Contents/MacOS/DOSBox where the last DOSBox is the executable)

Thanks

Reply 1 of 2, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Look for something called static linking.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 2, by Farnsworth

User metadata
Rank Newbie
Rank
Newbie

I thought I needed to do it with static linking but the problem is I don't now how. I couldn't find a readme or tutorial from the SDL people to do it.