Skip to content

Commit 494b425

Browse files
committed
More testing Make configure.R::setRcppTskitLibAndFlags() portable across Unix/Linux/macOS/Windows platforms
Fixes #19
1 parent 440c0a0 commit 494b425

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

RcppTskit/src/Makevars.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ PKG_CFLAGS = -DNDEBUG # to remove calls to assert() as per the R extensions manu
4646

4747
# Explicit compile rule for tskit C files
4848
tskit/%.o: tskit/%.c
49-
$(CC) $(PKG_CPPFLAGS) $(PKG_CFLAGS) $(CFLAGS) -c $< -o $@
49+
$(CC) $(PKG_CPPFLAGS) $(PKG_CFLAGS) $(CFLAGS) $(CPICFLAGS) -c $< -o $@
5050

5151
# Linking
5252
PKG_LIBS = @RCPPTSKIT_LIB@

0 commit comments

Comments
 (0)