Skip to content

Commit

Permalink
use the static library for tests, avoid LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
Closes: #5
  • Loading branch information
omar-polo authored and epsilon-0 committed Feb 27, 2024
1 parent 78baeb7 commit 573b323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ check: test
test: all ${TESTOBJS}

${TESTOBJS}: ${TESTSRCS}
${CC} ${CFLAGS} -Isrc ${TESTSRCS} -o $@ -L. -limsg
env -i LD_LIBRARY_PATH=. ./$@
${CC} ${CFLAGS} -Isrc ${TESTSRCS} ${STATICLIB} -o $@
./$@

clean:
rm -f ${LIBRARY} ${STATICLIB} ${OBJS} ${TESTOBJS} libimsg.pc
Expand Down

0 comments on commit 573b323

Please sign in to comment.