Statically link to libosso
authorAlberto Mardegan <mardy@users.sourceforge.net>
Sun, 23 Oct 2011 06:42:30 +0000 (09:42 +0300)
committerAlberto Mardegan <mardy@users.sourceforge.net>
Sun, 23 Oct 2011 06:42:30 +0000 (09:42 +0300)
The library is not available in Harmattan user repositories.

Makefile

index 3762380..f1003a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -154,7 +154,7 @@ ifeq ($(PLATFORM),darwin)
 endif
 
 ifeq ($(PLATFORM),maemo)
-    BASE_LIBS += $(shell pkg-config --libs libosso)
+    BASE_LIBS += /usr/lib/libosso.a $(shell pkg-config --static --libs libosso | sed s/-losso// )
 endif
 
 ALL_LIBS := $(SDL_LIBS) $(BASE_LIBS) $(TILT_LIBS) $(INTL_LIBS) -lSDL_ttf \