vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/Makefile in cloudsmith-api-0.21.4 vs vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/Makefile in cloudsmith-api-0.30.7
- old
+ new
@@ -29,12 +29,12 @@
sitehdrdir = $(rubyhdrdir)/site_ruby
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
vendorarchdir = $(vendorlibdir)/$(sitearch)
vendorlibdir = $(vendordir)/$(ruby_version)
vendordir = $(rubylibprefix)/vendor_ruby
-sitearchdir = $(DESTDIR)./.gem.20171207-27057-1703h80
-sitelibdir = $(DESTDIR)./.gem.20171207-27057-1703h80
+sitearchdir = $(DESTDIR)./.gem.20180802-9870-1kw8i3k
+sitelibdir = $(DESTDIR)./.gem.20180802-9870-1kw8i3k
sitedir = $(rubylibprefix)/site_ruby
rubyarchdir = $(rubylibdir)/$(arch)
rubylibdir = $(rubylibprefix)/$(ruby_version)
sitearchincludedir = $(includedir)/$(sitearch)
archincludedir = $(includedir)/$(arch)
@@ -65,12 +65,12 @@
CC = gcc
CXX = g++
LIBRUBY = $(LIBRUBY_SO)
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
-LIBRUBYARG_SHARED = -Wl,-R$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
-LIBRUBYARG_STATIC = -Wl,-R$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static
+LIBRUBYARG_SHARED = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
+LIBRUBYARG_STATIC = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static
empty =
OUTFLAG = -o $(empty)
COUTFLAG = -o $(empty)
RUBY_EXTCONF_H =
@@ -83,12 +83,12 @@
CFLAGS = $(CCDLFLAGS) -I/opt/chefdk/embedded/include -O2 -O3 -g -pipe -fPIC $(ARCH_FLAG)
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
DEFS =
CPPFLAGS = -DJSON_GENERATOR -I/opt/chefdk/embedded/include -O2 -O3 -g -pipe -I/opt/chefdk/embedded/include $(DEFS) $(cppflags)
CXXFLAGS = $(CCDLFLAGS) -I/opt/chefdk/embedded/include -O2 -O3 -g -pipe $(ARCH_FLAG)
-ldflags = -L. -Wl,-rpath,/opt/chefdk/embedded/lib -fstack-protector -L/opt/chefdk/embedded/lib -rdynamic -Wl,-export-dynamic -L/opt/chefdk/embedded/lib -Wl,-R/opt/chefdk/embedded/lib
-dldflags = -L/opt/chefdk/embedded/lib -Wl,-R/opt/chefdk/embedded/lib
+ldflags = -L. -Wl,-rpath,/opt/chefdk/embedded/lib -L/opt/chefdk/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -L/opt/chefdk/embedded/lib -Wl,-rpath,/opt/chefdk/embedded/lib
+dldflags = -L/opt/chefdk/embedded/lib -Wl,-rpath,/opt/chefdk/embedded/lib
ARCH_FLAG =
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
LDSHARED = $(CC) -shared
LDSHAREDXX = $(CXX) -shared
AR = ar
@@ -121,22 +121,22 @@
#### End of system configuration section. ####
preload =
libpath = . $(libdir) /opt/chefdk/embedded/lib
-LIBPATH = -L. -L$(libdir) -Wl,-R$(libdir) -L/opt/chefdk/embedded/lib -Wl,-R/opt/chefdk/embedded/lib
+LIBPATH = -L. -L$(libdir) -Wl,-rpath,$(libdir) -L/opt/chefdk/embedded/lib -Wl,-rpath,/opt/chefdk/embedded/lib
DEFFILE =
CLEANFILES = mkmf.log
DISTCLEANFILES =
DISTCLEANDIRS =
extout =
extout_prefix =
target_prefix = /json/ext
LOCAL_LIBS =
-LIBS = $(LIBRUBYARG_SHARED) -lpthread -lrt -ldl -lcrypt -lm -lc
+LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lcrypt -lm -lc
ORIG_SRCS = generator.c
SRCS = $(ORIG_SRCS)
OBJS = generator.o
HDRS = $(srcdir)/generator.h
TARGET = generator
@@ -157,10 +157,10 @@
TARGET_SO = $(DLLIB)
CLEANLIBS = $(TARGET).so
CLEANOBJS = *.o *.bak
all: $(DLLIB)
-static: $(STATIC_LIB) install-rb
+static: $(STATIC_LIB)
.PHONY: all install static install-so install-rb
.PHONY: clean clean-so clean-static clean-rb
clean-static::
clean-rb-default::