I noticed that the extconf.rb of gtkmozembed uses things like
-DDEFAULT_MOZILLA_FIVE_HOME for CFLAGS and -rpath in LDFLAGS… While
were indeed needed for embedding mozilla and probably firefox, it’s
needed for xulrunner. Especially -rpath is quite ugly for
I’ve attached a simple patch to remove the unneeded flags. Another
possibility would be to only add the flags when compiling against
mozilla… Comments ?