makefile.patch 438 B

1234567891011
  1. diff -Naur a/Makefile.lnx b/Makefile.lnx
  2. --- a/Makefile.lnx 2014-05-03 21:05:26.619853000 +0200
  3. +++ b/Makefile.lnx 2014-05-03 21:04:42.977667000 +0200
  4. @@ -1,5 +1,5 @@
  5. CC := gcc
  6. -CFLAGS += -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
  7. +CFLAGS += `pkg-config --cflags libbsd` -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
  8. SUBDIRS := newfs_hfs.tproj fsck_hfs.tproj
  9. all clean: