diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-04-20 16:21:54 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-04-20 16:21:54 +0200 |
commit | c08ff230bc1af97e10251d10731da9c874e79c1f (patch) | |
tree | 79dad45385cfc2d9869d3769e3b75776789c76fc /Makefile | |
parent | 5eb7fb4387f431b03c69a726a00b357e332b0455 (diff) | |
download | pgfuse-c08ff230bc1af97e10251d10731da9c874e79c1f.tar.gz pgfuse-c08ff230bc1af97e10251d10731da9c874e79c1f.tar.bz2 |
fixed compile issues on debian and suse
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -14,9 +14,17 @@ bindir=$(execdir)/bin datadir=$(execdir)/share # for debugging -CFLAGS = -Wall -Werror -g -O0 -pthread +#CFLAGS = -Wall -Werror -g -O0 -pthread # for releasing -#CFLAGS = -Wall -O2 +CFLAGS = -Wall -O2 + +# redhat has libpq-fe.h and fuse.h in /usr/include, ok + +# suse has libpq-fe.h in +CFLAGS += -I/usr/include/pgsql + +# debianish systems have libpg-fe.h in +CFLAGS += -I/usr/include/postgresql # declare version of FUSE API we want to program against CFLAGS += -DFUSE_USE_VERSION=26 |