diff options
author | Ivan Kuten <ivan.kuten@promwad.com> | 2007-11-16 15:35:14 +0000 |
---|---|---|
committer | Ivan Kuten <ivan.kuten@promwad.com> | 2007-11-16 15:35:14 +0000 |
commit | 76d37d10481048db314e862ac0f394437ce10eaa (patch) | |
tree | b223b4739e1d40253b5703ac217c259efdc3aa18 | |
parent | da6c5f95e04daa7a4129ea72977fb1adf3e75818 (diff) | |
download | buildroot-novena-76d37d10481048db314e862ac0f394437ce10eaa.tar.gz buildroot-novena-76d37d10481048db314e862ac0f394437ce10eaa.zip |
correct paths in sdl-config
-rw-r--r-- | package/sdl/sdl.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk index 3c79955c7..c177f84b4 100644 --- a/package/sdl/sdl.mk +++ b/package/sdl/sdl.mk @@ -94,6 +94,11 @@ $(SDL_DIR)/.compiled: $(SDL_DIR)/.configured $(SDL_DIRECTFB_TARGET) $(STAGING_DIR)/usr/lib/libSDL.so: $(SDL_DIR)/.compiled $(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(SDL_DIR) install + $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)\',g" \ + -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \ + -e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \ + -e "s,-I/include/SDL,-I\'$(STAGING_DIR)/include/SDL\',g" \ + $(STAGING_DIR)/usr/bin/sdl-config touch -c $@ $(TARGET_DIR)/usr/lib/libSDL.so: $(STAGING_DIR)/usr/lib/libSDL.so |