Include frameworks in my .app

Hello.
I'm learning C++ and SDL, and I'm coding in Linux. I'm trying to port my program to Mac, and it works fine.. on my computer. When I try to run it on another computer, it needs SDL.framework, SDL_ttf.framework and SDL_image.framework in /Library/Frameworks. But nobody wants to download them and put them there to run my program. I've seen that some .app's have frameworks inside them, so I tried to do this by adding a "copy files build phase", and it did put them in a Frameworks directory inside the .app. But still it needs them to be in /Library/Frameworks, so how do I fix this?

It's not usually a problem for SDL though -- it generally has the correct install name by default. Did you build it yourself from the Makefile or something wacky like that?

I don't remember how I installed SDL. I _think_ I downloaded it from libsdl.org, but maybe I installed it with darwinports. I'll try to download it from their libsdl.org and re-install it and see if it works.

edit: I tried it now, and it tells me "Undefined symbols: _SDL_Error referenced from @executable_path/../Frameworks/SDL_image.framework/Versions/A/SDL_image expected to be defined in SDL".

edit: It works after I installed the cvs version of SDL. But, it doesn't start when I doubleclick my .app, but it works if I run my.app/Contents/MacOS/my in the terminal..