]> mj.ucw.cz Git - pciutils.git/commit
libpci: djgpp: Allow to specify empty IDSDIR=
authorPali Rohár <pali@kernel.org>
Fri, 18 Nov 2022 20:57:50 +0000 (21:57 +0100)
committerPali Rohár <pali@kernel.org>
Fri, 18 Nov 2022 20:57:50 +0000 (21:57 +0100)
commit43fd29c72dea38d080be5681056b6a9e536e590b
treeb1fea2e87753d52aecff4c6daa5491bc663bb4fe
parenta7a7aaeaa9feca5377a0da891d2d444db20cdb7d
libpci: djgpp: Allow to specify empty IDSDIR=

Like for windows builds this will cause to load pci.ids file from the same
directory where is stored application binary. Code is same as for Windows,
just djgpp uses global symbol __dos_argv0 instead of _pgmptr.

Tested with following compile command:
  make CROSS_COMPILE=i586-pc-msdosdjgpp- HOST=i586-djgpp ZLIB=no DNS=no IDSDIR=
lib/init.c