Skip to content

Instantly share code, notes, and snippets.

@adek05
Created October 4, 2014 23:34
Show Gist options
  • Save adek05/bd1afa29a08530952e44 to your computer and use it in GitHub Desktop.
Save adek05/bd1afa29a08530952e44 to your computer and use it in GitHub Desktop.
LIBGCCJIT_VERSION_NUM = 0
LIBGCCJIT_MINOR_NUM = 0
LIBGCCJIT_RELEASE_NUM = 1
@@ -69,10 +69,10 @@ $(LIBGCCJIT_FILENAME): $(jit_OBJS) \
$(CPPLIB) $(LIBDECNUMBER) \
$(LIBDEPS) $(srcdir)/jit/libgccjit.map
+$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ -shared \
+ -dynamiclib \
$(jit_OBJS) libbackend.a libcommon-target.a libcommon.a \
$(CPPLIB) $(LIBDECNUMBER) $(LIBS) $(BACKENDLIBS) \
- -Wl,--version-script=$(srcdir)/jit/libgccjit.map \
- -Wl,-soname,$(LIBGCCJIT_SONAME)
+ -Wl,-install_name,$(LIBGCCJIT_SONAME)
$(LIBGCCJIT_SONAME_SYMLINK): $(LIBGCCJIT_FILENAME)
ln -sf $(LIBGCCJIT_FILENAME) $(LIBGCCJIT_SONAME_SYMLINK)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment