Skip to content

Commit d2dc156

Browse files
authored
Merge branch 'postgrespro:master' into add-moc-casts
2 parents 5e7ab4e + 3a7f241 commit d2dc156

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ else
6666
endif
6767

6868
# compiler settings
69-
override CPPFLAGS += -I/usr/include/healpix_cxx
70-
SHLIB_LINK += -lhealpix_cxx
69+
PKG_CONFIG = pkg-config
70+
override CPPFLAGS += $(shell $(PKG_CONFIG) --cflags healpix_cxx)
71+
SHLIB_LINK += $(shell $(PKG_CONFIG) --libs healpix_cxx)
7172
LINK.shared = g++ -shared
7273

7374
# healpix_bare.c isn't ours so we refrain from fixing the warnings in there

0 commit comments

Comments
 (0)