Module: kamailio
Branch: master
Commit: fb57ccb9d56991ca10714ffaab307cd02c36542b
URL:
https://github.com/kamailio/kamailio/commit/fb57ccb9d56991ca10714ffaab307cd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-12-13T10:11:18+01:00
app_ruby: Makefile - fixed libs for darwin os with no pkg-config
- removed -lobj from libs for linux without no pkg-config
---
Modified: src/modules/app_ruby/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/fb57ccb9d56991ca10714ffaab307cd…
Patch:
https://github.com/kamailio/kamailio/commit/fb57ccb9d56991ca10714ffaab307cd…
---
diff --git a/src/modules/app_ruby/Makefile b/src/modules/app_ruby/Makefile
index 9e54ba229e..9198714c2a 100644
--- a/src/modules/app_ruby/Makefile
+++ b/src/modules/app_ruby/Makefile
@@ -23,14 +23,14 @@ endif
ifneq ($(BUILDER),)
DEFS += $(shell $(BUILDER) --cflags $(RUBYVER))
- LIBS += $(shell $(BUILDER) --libs $(RUBYVER))
+ LIBS = $(shell $(BUILDER) --libs $(RUBYVER))
else
ifneq (,$(findstring darwin,$(OS)))
DEFS += -I/opt/local/include -I$(LOCALBASE)/include
- LIBS += -L/opt/local/lib -L$(LOCALBASE)/lib -lev
+ LIBS = -L/opt/local/lib -L$(LOCALBASE)/lib -lruby -lpthread -ldl
else
DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
- LIBS += -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lruby -lpthread -ldl -lobjc
+ LIBS = -L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lruby -lpthread -ldl
endif
endif