Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhichu opened this issue Jul 16, 2019 · 0 comments
Open

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

zhichu opened this issue Jul 16, 2019 · 0 comments

Comments

@zhichu
Copy link

zhichu commented Jul 16, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant