Gtkmozembed compiles with unneeded flags

Hi,

I noticed that the extconf.rb of gtkmozembed uses things like
-DDEFAULT_MOZILLA_FIVE_HOME for CFLAGS and -rpath in LDFLAGS… While
those
were indeed needed for embedding mozilla and probably firefox, it’s
not
needed for xulrunner. Especially -rpath is quite ugly for
distributors.

I’ve attached a simple patch to remove the unneeded flags. Another
possibility would be to only add the flags when compiling against
firefox or
mozilla… Comments ?

Sjoerd

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs