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 dfa3290 + faf4ca8 commit 3a7f241Copy full SHA for 3a7f241
Makefile
@@ -64,8 +64,9 @@ else
64
endif
65
66
# compiler settings
67
-override CPPFLAGS += -I/usr/include/healpix_cxx
68
-SHLIB_LINK += -lhealpix_cxx
+PKG_CONFIG = pkg-config
+override CPPFLAGS += $(shell $(PKG_CONFIG) --cflags healpix_cxx)
69
+SHLIB_LINK += $(shell $(PKG_CONFIG) --libs healpix_cxx)
70
LINK.shared = g++ -shared
71
72
# healpix_bare.c isn't ours so we refrain from fixing the warnings in there
0 commit comments