summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2015-05-28 20:21:32 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2015-05-28 20:21:32 (GMT)
commit7a48847f6303ea5801172a27cd7568217bf106ef (patch)
tree906187b0917b8f7b744a9dff1aef4b9318d57ac7
parent467efdf946bb46175e7d1fb89c96b6d433b865b5 (diff)
downloadsoup-transcoding-proxy-7a48847f6303ea5801172a27cd7568217bf106ef.zip
soup-transcoding-proxy-7a48847f6303ea5801172a27cd7568217bf106ef.tar.gz
Makefile: Should use libtool if requiredHEADmaster
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6df2318..f1fb0a8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+#LIBTOOL := libtool --mode=link --tag=CC
+LIBTOOL :=
DEBUG_CFLAGS := -O0 -ggdb -Wall -fsanitize=address -fno-omit-frame-pointer -DENCODE_DEBUG -DPLAY_DEBUG -DHEADERS_DEBUG
#CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer -DENCODE_DEBUG
CFLAGS := -O2 -Wall
@@ -13,7 +15,7 @@ VPATH := debug
$(CC) -c $< $(CFLAGS) $(LIBS) -o $@
$(SERVER_NAME): src/main.c $(SRC_OBJS)
- $(CC) $^ $(CFLAGS) $(LIBS) -o $@
+ $(LIBTOOL) $(CC) $^ $(CFLAGS) $(LIBS) -o $@
all: sst-server