Skip to content

Commit b604796

Browse files
Fix up missing LIBS declaration on link line in OBS builds.
1 parent 5cd36ec commit b604796

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ LIBS:=$(subst -lecolab,$(ECOLAB_HOME)/lib/libecolab.a,$(LIBS))
5252
endif
5353

5454
ifndef OBS
55-
RPATH=-Wl,-rpath=$(ECOLAB_HOME)/lib $(LIBS)
55+
RPATH=-Wl,-rpath=$(ECOLAB_HOME)/lib
5656
endif
5757

5858
ifeq ($(OS),Darwin)
@@ -421,7 +421,7 @@ else
421421
ifeq ($(OS),Darwin)
422422
c++ -bundle -undefined dynamic_lookup -Wl,-no_pie -Wl,-search_paths_first -mmacosx-version-min=$(MACOSX_MIN_VERSION) -arch $(ARCH) -stdlib=libc++ -o $@ $^ $(LIBS)
423423
else
424-
$(LINK) $(FLAGS) -shared -pthread -rdynamic -m64 -Wl,-soname=minskyRESTService.node -o $@ -Wl,--start-group $^ -Wl,--end-group $(RPATH)
424+
$(LINK) $(FLAGS) -shared -pthread -rdynamic -m64 -Wl,-soname=minskyRESTService.node -o $@ -Wl,--start-group $^ -Wl,--end-group $(RPATH) $(LIBS)
425425
endif
426426
endif
427427

@@ -434,7 +434,7 @@ ifeq ($(OS),Darwin)
434434
cp pyminsky.so gui-js/build/
435435
else
436436
ifndef MXE
437-
$(LINK) -shared -o $@ $^ libminsky.a $(RPATH)
437+
$(LINK) -shared -o $@ $^ libminsky.a $(RPATH) $(LIBS)
438438
endif
439439
endif
440440

0 commit comments

Comments
 (0)