Skip to content

Commit

Permalink
ci: fix static lib not found
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosNicolau committed Jan 6, 2025
1 parent cb62d85 commit 71b1afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test: build ## Run test for all libs. To run only the tests of a specific lib ru
done

test_%: build $(TESTS_BUILD_DIR)
@$(CC) $(CFLAGS) -I$(INCLUDE_BUILD_DIR) -L$(LIB_BUILD_DIR) -l$* \
@$(CC) $(CFLAGS) -I$(INCLUDE_BUILD_DIR) -L$(LIB_BUILD_DIR) $(patsubst %, -l%, $(LIBS)) \
-o $(BUILD_DIR)/tests/$* libs/$*/$(TEST_DIR)/*.c
@LD_LIBRARY_PATH=$(LIB_BUILD_DIR) $(BUILD_DIR)/tests/$*

Expand Down

0 comments on commit 71b1afb

Please sign in to comment.