Skip to content

Commit

Permalink
Travis: trying to fix OSX build
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrp committed Sep 14, 2018
1 parent 7119f14 commit ae269cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ D_COMPILER=ldc2
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
SYS = OSX
else
SYS = LINUX
LINK_OBJ = utils/ldc_version_info_.o
endif

DFLAGS = -wi -I. -IBioD -IundeaD/src -g
Expand Down Expand Up @@ -90,7 +93,7 @@ singleobj:
# ---- Link step
$(OUT): build-setup singleobj utils/ldc_version_info_.o
$(info linking...)
$(D_COMPILER) $(DFLAGS) -of=bin/sambamba bin/sambamba.o utils/ldc_version_info_.o $(LIBS)
$(D_COMPILER) $(DFLAGS) -of=bin/sambamba bin/sambamba.o $(LINK_OBJ) $(LIBS)

test:
./run_tests.sh
Expand Down

0 comments on commit ae269cf

Please sign in to comment.