diff options
author | Max <msuraev@sysmocom.de> | 2016-06-30 12:58:49 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-06-30 12:58:49 +0200 |
commit | cfaf968a17708c32f0c338f182f51f5d1ee68cee (patch) | |
tree | ff336fdee9aba25ccb2013b41837e5024f4f98d1 | |
parent | 1e5454467e26271488cd8f3cbabed6711b3a69c3 (diff) |
Fix build on Ubuntu
Linked libraries supposed to come _after_ the objects which uses
functions from them.
-rw-r--r-- | osmo-gsup-hlr/src/Makefile | 4 |
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 $^ |