Skip to content
This repository

stream_filter: build without unnecessary LIBS #65

Merged
merged 1 commit into from almost 2 years ago

2 participants

Pierce Lopez Matt Reiferson
Pierce Lopez
Collaborator

using fewer libs helps build on machines without those libs

Matt Reiferson mreiferson merged commit 5184d1a into from June 28, 2012
Matt Reiferson mreiferson closed this June 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jun 28, 2012
Pierce Lopez stream_filter: build without unnecessary LIBS 9f76e85
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  pubsub_filtered/Makefile
4  pubsub_filtered/Makefile
@@ -5,11 +5,13 @@ LIBSIMPLEHTTP ?= /usr/local
5 5
 CFLAGS = -I. -I$(LIBSIMPLEHTTP)/include -I.. -I$(LIBEVENT)/include -g 
6 6
 LIBS = -L. -L$(LIBSIMPLEHTTP)/lib -L../simplehttp -L$(LIBEVENT)/lib -levent -lsimplehttp -ljson -lpcre -lm -lpubsubclient -lcrypto
7 7
 
  8
+LIBS_STREAM_FILTER = -L. -L$(LIBSIMPLEHTTP)/lib -L../simplehttp -lsimplehttp -ljson
  9
+
8 10
 pubsub_filtered: pubsub_filtered.c md5.c
9 11
 	$(CC) $(CFLAGS) -o $@ md5.c $< $(LIBS)
10 12
 
11 13
 stream_filter: stream_filter.c md5.c
12  
-	$(CC) $(CFLAGS) -o $@ md5.c $< $(LIBS)
  14
+	$(CC) $(CFLAGS) -o $@ md5.c $< $(LIBS_STREAM_FILTER)
13 15
 
14 16
 install:
15 17
 	/usr/bin/install -d $(TARGET)/bin/
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.