We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e7ab4e + 3a7f241 commit d2dc156Copy full SHA for d2dc156
Makefile
@@ -66,8 +66,9 @@ else
66
endif
67
68
# compiler settings
69
-override CPPFLAGS += -I/usr/include/healpix_cxx
70
-SHLIB_LINK += -lhealpix_cxx
+PKG_CONFIG = pkg-config
+override CPPFLAGS += $(shell $(PKG_CONFIG) --cflags healpix_cxx)
71
+SHLIB_LINK += $(shell $(PKG_CONFIG) --libs healpix_cxx)
72
LINK.shared = g++ -shared
73
74
# healpix_bare.c isn't ours so we refrain from fixing the warnings in there
0 commit comments