diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-17 18:05:08 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-07-17 18:05:08 +0200 |
commit | 5953e905994bf8c58c74220e7f0edd91c07b1bf0 (patch) | |
tree | 24eb81eb4c4b14716876e8a6e4e018140c3b8c11 /host | |
parent | f1c60623ae07b9ce87df0567ec6e5b91c41daa95 (diff) |
make: Move the LDFLAGS to the end of the link line for OpenSUSE
The code does not build like this on a OpenSUSE system, it will
not find the libusb and libosmocore library.
Diffstat (limited to 'host')
-rw-r--r-- | host/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Makefile b/host/Makefile index 4f117b1..2f3a482 100644 --- a/host/Makefile +++ b/host/Makefile @@ -3,7 +3,7 @@ LDFLAGS=-lusb `pkg-config --libs libosmocore` -losmocore all: simtrace simtrace: main.o usb_helper.o usb.o apdu_split.o - $(CC) $(LDFLAGS) -o $@ $^ + $(CC) -o $@ $^ $(LDFLAGS) %.o: %.c $(CC) $(CFLAGS) `pkg-config --cflags libosmocore` -o $@ -c $^ |