Created
September 28, 2012 03:12
-
-
Save c2nes/3797745 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/src/Makefile b/src/Makefile | |
index 46fa431..9a9166d 100644 | |
--- a/src/Makefile | |
+++ b/src/Makefile | |
@@ -16,7 +16,7 @@ OBJ = $(SRC:.c=.o) | |
all: $(LIB_FILE) | |
$(LIB_FILE): $(OBJ) | |
- $(CC) $(LDFLAGS) $(LIB_LDFLAGS) $(OBJ) -o $(LIB_FILE) | |
+ $(CC) $(OBJ) -o $(LIB_FILE) $(LIB_LDFLAGS) $(LDFLAGS) | |
ln -sf $(LIB_FILE) $(LIB_FILE_BASE) | |
pylib: $(LIB_FILE) | |
diff --git a/src/hub/Makefile b/src/hub/Makefile | |
index 68e7d95..df7b09a 100644 | |
--- a/src/hub/Makefile | |
+++ b/src/hub/Makefile | |
@@ -3,7 +3,7 @@ include ../../build/config.base.mk | |
include ../../$(CONFIG) | |
EXTRA_CFLAGS = -I../../include/ | |
-LDFLAGS += -L../ -l$(LIB_NAME) -lpthread -lrt | |
+LDFLAGS += -L../ -l$(LIB_NAME) -lpthread | |
INCLUDES= ../../include/seawolf/*.h ../../include/seawolf.h seawolf_hub.h | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment