diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2021-09-06 11:07:42 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2021-09-06 11:07:42 +0200 |
commit | 9fe28369aaf1f98090b9ecfded6ef22599cc09d0 (patch) | |
tree | 5dd0e50e39faf83316bc1ef50b34687fefcd4055 /iceprog | |
parent | b93cb16bb09e42c3469b01dcc6e08d8ef7700525 (diff) | |
download | icestorm-9fe28369aaf1f98090b9ecfded6ef22599cc09d0.tar.gz icestorm-9fe28369aaf1f98090b9ecfded6ef22599cc09d0.tar.bz2 icestorm-9fe28369aaf1f98090b9ecfded6ef22599cc09d0.zip |
Fixes for macOS
Diffstat (limited to 'iceprog')
-rw-r--r-- | iceprog/Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/iceprog/Makefile b/iceprog/Makefile index 3cb07b8..f41263e 100644 --- a/iceprog/Makefile +++ b/iceprog/Makefile @@ -1,12 +1,5 @@ include ../config.mk -ifneq ($(shell uname -s),Darwin) - LDLIBS = -L/usr/local/lib -lm -else - LIBFTDI_NAME = $(shell $(PKG_CONFIG) --exists libftdi1 && echo ftdi1 || echo ftdi) - LDLIBS = -L/usr/local/lib -l$(LIBFTDI_NAME) -lm -endif - ifeq ($(STATIC),1) LDFLAGS += -static LDLIBS += $(shell for pkg in libftdi1 libftdi; do $(PKG_CONFIG) --silence-errors --static --libs $$pkg && exit; done; echo -lftdi; ) |