Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfaf4ca8

Browse files
committed
Use pkg-config to discover healpix_cxx location
Close#4
1 parentdfa3290 commitfaf4ca8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Makefile‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ else
6464
endif
6565

6666
# compiler settings
67-
overrideCPPFLAGS += -I/usr/include/healpix_cxx
68-
SHLIB_LINK += -lhealpix_cxx
67+
PKG_CONFIG = pkg-config
68+
overrideCPPFLAGS +=$(shell$(PKG_CONFIG) --cflags healpix_cxx)
69+
SHLIB_LINK +=$(shell$(PKG_CONFIG) --libs healpix_cxx)
6970
LINK.shared = g++ -shared
7071

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp