summaryrefslogtreecommitdiff
blob: 2bf4963df2140fe48f856dcbcf30d613175a8053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- libtclink/Makefile
+++ libtclink/Makefile
@@ -1,7 +1,7 @@
-LDFLAGS=-lssl
-CFLAGS=-fPIC
+LIBS=-lssl
+CFLAGS+=-fPIC
 
 libtclink.so: tclinkc.o
-	        $(CC) $(LDFLAGS) -shared -o $@ $<
+	        $(CC) $(LDFLAGS) $(CFLAGS) -shared -o $@ $< $(LIBS)
 
 tclinkc.o: tclinkc.c