Skip to content

Commit

Permalink
Do not use system libraries as dependencies
Browse files Browse the repository at this point in the history
Make will find system libraries for -lusb, -ldbus... That is not wanted.
Libraries are in linux-devkit directory.  Make could be pointed to
this directory, but as it is binary anyway, I do not really care.
  • Loading branch information
schodet committed Aug 31, 2013
1 parent e397218 commit 621e86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms2012/open_first/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ all: install
%.o: ../source/%.c
$(CROSS_COMPILE)gcc $(CFLAGS) -c -MMD -MP -o $@ $<

$(TARGET): $(OBJS) $(LIBS)
$(TARGET): $(OBJS) $(filter -lc_%,$(LIBS))
$(CROSS_COMPILE)gcc $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

install: $(INSTALL_TARGET)
Expand Down

0 comments on commit 621e86c

Please sign in to comment.