m5stack / M5GFX

Graphics library for M5Stack series
MIT License
159 stars 46 forks source link

Copying in `miniz` makes this difficult to use with projects that already use `miniz` #92

Open johnboiles opened 6 months ago

johnboiles commented 6 months ago

miniz is vendor'd into this repo, causing duplicate symbol linker errors if M5GFX is used in projects that already use miniz.

Not sure on the best way to handle this. Here are some options:

I'm running into this specifically in an esp-idf project where I have a miniz component already.

lovyan03 commented 4 months ago

Hello, @johnboiles I've updated the develop branch. I've changed the names of symbols in the miniz, so I hope they won't conflict with miniz from other projects. If there are no problems, this will be reflected in the next release.