From 2e09f54d1222de37a44862a5d4d72786e0266d20 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Tue, 14 Mar 2017 20:46:58 +0100 Subject: [PATCH] LDFLAGS --- apps/cli/Makefile.in | 2 +- apps/netconf/Makefile.in | 2 +- lib/src/Makefile.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/cli/Makefile.in b/apps/cli/Makefile.in index 5c29b82a..0ba702bd 100644 --- a/apps/cli/Makefile.in +++ b/apps/cli/Makefile.in @@ -127,7 +127,7 @@ $(APPL): $(OBJS) $(MYLIBLINK) $(LIBDEPS) $(CC) $(LDFLAGS) $(OBJS) -L. -l:$(MYLIB) $(LIBS) -o $@ $(MYLIB) : $(LIBOBJS) - $(CC) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO) + $(CC) $(LDFLAGS) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO) # link-name is needed for application linking, eg for clixon_cli and clixon_config $(MYLIBLINK) : $(MYLIB) diff --git a/apps/netconf/Makefile.in b/apps/netconf/Makefile.in index f565b57b..c1b0f5be 100644 --- a/apps/netconf/Makefile.in +++ b/apps/netconf/Makefile.in @@ -115,7 +115,7 @@ $(APPL) : $(OBJS) $(MYLIBLINK) $(LIBDEPS) $(CC) $(LDFLAGS) $(OBJS) -L. -l:$(MYLIB) $(LIBS) -o $@ $(MYLIB) : $(LIBOBJS) - $(CC) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO) + $(CC) $(LDFLAGS) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO) # link-name is needed for application linking, eg for clixon_cli and clixon_config $(MYLIBLINK) : $(MYLIB) diff --git a/lib/src/Makefile.in b/lib/src/Makefile.in index c13c7749..5b0548f7 100644 --- a/lib/src/Makefile.in +++ b/lib/src/Makefile.in @@ -164,7 +164,7 @@ build.c: $(MYLIB) : $(GENOBJS) $(OBJS) - $(CC) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(GENOBJS) $(OBJS) $(LIBS) -Wl,-soname=$(MYLIBSO) + $(CC) $(LDFLAGS) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(GENOBJS) $(OBJS) $(LIBS) -Wl,-soname=$(MYLIBSO) # link-name is needed for application linking, eg for clixon_cli and clixon_config $(MYLIBLINK) : $(MYLIB) # ln -sf $(MYLIB) $@