module depending on libiconv

You must Login before you can answer or comment on any questions.

I am making a module depending on libiconv for ios. Actually my module depends on a 3rd party library (zxing) which depends on libiconv. I added libiconv to the link for zxing lib and my module build. My problem is when compiling my application, libiconv is not automatically added as a link dependency. I have to open the iphone project and add the link dependency.

Is there any way to automatize the process?

Thanks

1 Answer

Accepted Answer

In the {project} folder, you will find module.xconfig.

In it you can force frameworks and libraries to load:

OTHER_LDFLAGS=$(inherited) -F '/Volumes/Expansion\ D/libraries/comScore-iOS4-1.1204.05/' -framework comScore

— answered 10 months ago by Stephen Feather
answer permalink
5 Comments
  • Thank you so much, that was it!

    — commented 10 months ago by Martin Guillon

  • Hi Martin. can you suggest me what exactly did you use to link against libiconv. i mean you marked above answer as correct, but i tried that and its not working for me.

    — commented 10 months ago by Ashish Nigam

  • i added this to my module.xconfig

    OTHER_LDFLAGS=$(inherited) -liconv

    — commented 10 months ago by Martin Guillon

  • Show 2 more comments

Your Answer

Think you can help? Login to answer this question!