diff options
author | Xiretza <xiretza@xiretza.xyz> | 2021-06-14 11:35:38 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2021-07-05 16:39:16 +0200 |
commit | 9c31ecfab8a39513676656699982a3e7860a9ad6 (patch) | |
tree | aa4bfdce063437eec317c15874cc3b17e1a2031f | |
parent | 18f4ae482cfa82fdb0474c2aa843e2bfe726ba56 (diff) | |
download | yosys-9c31ecfab8a39513676656699982a3e7860a9ad6.tar.gz yosys-9c31ecfab8a39513676656699982a3e7860a9ad6.tar.bz2 yosys-9c31ecfab8a39513676656699982a3e7860a9ad6.zip |
Makefile: don't bake DESTDIR into libyosys DT_SONAME
DESTDIR is only used as a temporary destination for installed files
before they are packaged into an archive; the "real" installed location
is determined by PREFIX/{BIN,LIB,DAT}DIR.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -676,9 +676,9 @@ $(PROGRAM_PREFIX)yosys$(EXE): $(OBJS) libyosys.so: $(filter-out kernel/driver.o,$(OBJS)) ifeq ($(OS), Darwin) - $(P) $(LD) -o libyosys.so -shared -Wl,-install_name,$(DESTDIR)$(LIBDIR)/libyosys.so $(LDFLAGS) $^ $(LDLIBS) + $(P) $(LD) -o libyosys.so -shared -Wl,-install_name,$(LIBDIR)/libyosys.so $(LDFLAGS) $^ $(LDLIBS) else - $(P) $(LD) -o libyosys.so -shared -Wl,-soname,$(DESTDIR)$(LIBDIR)/libyosys.so $(LDFLAGS) $^ $(LDLIBS) + $(P) $(LD) -o libyosys.so -shared -Wl,-soname,$(LIBDIR)/libyosys.so $(LDFLAGS) $^ $(LDLIBS) endif %.o: %.cc |