aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [2.2.6] why does upnp support need to be disabled when we cross compile amule?  (Read 3536 times)

doubledr

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3

Hello. I am cross compiling amule for my 64bit atom box. I tried several attempts to enable upnp support but out of luck. Eventually I found the following line in the configure file:

if test $cross_compiling = no; then

else

      result=no
      libupnp_error="cross compiling"

fi

what is the reason to disable upnp support in cross compiling mode? It doesn't make sense to me. Is it a bug?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685

Because currently we test libupnp version with pkgconfig, and that would test on the build system, not on the host system.

Feel free to send patches fixing this ;)

I tried several attempts to enable upnp support
Didn't it tell you the first time already why it doesn't work?
Logged
concordia cum veritate

doubledr

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3

I see. But I am not familiar with scripts, I can only write hacks ;D

I can't remember I see something on screen to tell me that upnp is disabled because of cross compiling... I will check.
Logged