summaryrefslogtreecommitdiffstats
path: root/osmo-gsup-hlr/src/Makefile
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-06-30 12:58:49 +0200
committerMax <msuraev@sysmocom.de>2016-06-30 12:58:49 +0200
commitcfaf968a17708c32f0c338f182f51f5d1ee68cee (patch)
treeff336fdee9aba25ccb2013b41837e5024f4f98d1 /osmo-gsup-hlr/src/Makefile
parent1e5454467e26271488cd8f3cbabed6711b3a69c3 (diff)
Fix build on Ubuntu
Linked libraries supposed to come _after_ the objects which uses functions from them.
Diffstat (limited to 'osmo-gsup-hlr/src/Makefile')
-rw-r--r--osmo-gsup-hlr/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/osmo-gsup-hlr/src/Makefile b/osmo-gsup-hlr/src/Makefile
index adc3e89..d2536b5 100644
--- a/osmo-gsup-hlr/src/Makefile
+++ b/osmo-gsup-hlr/src/Makefile
@@ -6,10 +6,10 @@ OBJS = auc.o db.o db_auc.o db_hlr.o logging.o
all: db_test hlr
db_test: db_test.o rand_fake.o $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) -o $@ $^ $(LDFLAGS)
hlr: hlr.o gsup_server.o gsup_router.o rand_urandom.o $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^