-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Scott Alford
committed
Jul 27, 2019
1 parent
c2b5aa4
commit decb223
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/src/Makefile b/src/Makefile | ||
index a99e52686..9b2b5705e 100644 | ||
--- a/src/Makefile | ||
+++ b/src/Makefile | ||
@@ -139,7 +139,7 @@ ULAPISRCS := rtapi/$(RTPREFIX)_ulapi.c | ||
|
||
# Each item in INCLUDES is transformed into a -I directive later on | ||
# The top directory is always included | ||
-INCLUDES := . | ||
+INCLUDES := . /usr/include/tirpc/ | ||
|
||
USERSRCS := | ||
PROGRAMS := | ||
@@ -203,6 +203,8 @@ else | ||
LDFLAGS := -Wl,-rpath-link,../lib | ||
endif | ||
|
||
+LDFLAGS += -ltirpc | ||
+ | ||
# Rules to make .o (object) files | ||
$(sort $(CUSEROBJS)) : objects/%.o: %.c | ||
$(ECHO) Compiling $< |