Use the indirect symbol to access the exported "emptychar" variable.

ncgcnv.pas, tcgtypeconvnode:
  * second_cstring_to_pchar & second_ansistring_to_pchar: use the indirect symbol to access FPC_EMPTYCHAR if the target supports packages

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/svenbarth@28968 3ad0048d-3df7-0310-abae-a5850022a9f2
Correctly import variable symbols.

pkgutil.pas, createimportlibfromexternals:
  * processasmsyms: instead of creating an indirect symbol which references the imported one, import the symbol using the indirect name

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/svenbarth@28969 3ad0048d-3df7-0310-abae-a5850022a9f2