Skip to content

How to pass -dynamic-too when compiling plugins #635

Description

@zhichu

I copy plugins/ImgTex.hs to my wiki directory and add it to the plugins in my config file. It does not compile and complains about some type mismatch.

I added a blank Attr (("",[],[("","")])) after Image and it can compile now, but interestingly, it only generates ImgTex.hs and ImgTex.o files. gitit needs to load ImgTex.dyn_o so I got:

Loading plugin `plugins/ImgTex.hs'...
gitit: <interactive>: fatal:
    cannot find object file `plugins/ImgTex.dyn_o'
    while linking an interpreted expression

Is there anyway I can pass the -dynamic-too parameter?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions