1
0
Fork
You've already forked gnu-getopt
0
a getopt[_long] implementation with GNU semantics, taken from netbsd
  • C 96.6%
  • Makefile 1.9%
  • Shell 1.5%
Find a file
2012年09月24日 20:25:23 +02:00
.gitignore init 2012年09月24日 19:19:29 +02:00
create-dist.sh add tool to create a dist tarball 2012年09月24日 20:25:23 +02:00
gnu_getopt.c update copyright info 2012年09月24日 20:01:03 +02:00
gnu_getopt.h change names 2012年09月24日 19:40:34 +02:00
Makefile fix install target 2012年09月24日 20:05:18 +02:00
README fix typo 2012年09月24日 20:17:28 +02:00

gnu getopt compatibility package for musl
usage:
make; make prefix= DESTDIR= install
then to compile a package, add to
CFLAGS="-Dgetopt=gnu_getopt -Dgetopt_long=gnu_getopt_long -Dgetopt_long_only=gnu_getopt_long_only"
LDFLAGS="-lgnu_getopt"