Fix compile on Linux.
[dhcpcd-ui] / mk / sys.mk
index b6605121404f6c12fead4c867b6a955a8af55b41..73f189ec3535e4af6e7d0c5fbe13e6ccaa55e3c9 100644 (file)
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -14,6 +14,8 @@ INSTALL?=     install
 RANLIB?=       ranlib
 SED?=          sed
 
+PICFLAG?=              -fPIC
+
 _LIBNAME_SH=           case `readlink /lib` in "") echo "lib";; *) basename `readlink /lib`;; esac
 _LIBNAME!=             ${_LIBNAME_SH}
 LIBNAME?=              ${_LIBNAME}$(shell ${_LIBNAME_SH})