Skip to content

ppp: pptp compilation issue fix

Without -fPIC dynamic linking fails for htons on MIPS. log:

  • 'relocation R_MIPS16_26 against `htons' can not be used when making a shared object'
  • 'non-dynamic relocations refer to dynamic symbol htons'

Adding -fPIC option would be enough, but I think general CFLAGS are more... general

Merge request reports