Skip to content

Instantly share code, notes, and snippets.

@mpapis
Last active December 18, 2015 04:49
Show Gist options
  • Select an option

  • Save mpapis/5728635 to your computer and use it in GitHub Desktop.

Select an option

Save mpapis/5728635 to your computer and use it in GitHub Desktop.
fixing builiding ruby-1.9.3 on OpenBSD Backported from http://bugs.ruby-lang.org/issues/8406
--- configure
+++ configure
@@ -712,6 +712,7 @@
DLDFLAGS
ALLOCA
LIBOBJS
+POSTLINK
WERRORFLAG
CHDIR
RMALL
@@ -10321,6 +10322,8 @@
ac_cv_func_daemon=no ;;
esac
+POSTLINK=:
+
case "$target_os" in #(
solaris*) :
--- Makefile.in
+++ Makefile.in
@@ -169,7 +169,6 @@
@$(RM) $@
$(ECHO) linking $@
$(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(MAINLIBS) $(LIBS) $(OUTFLAG)$@
- $(Q) $(POSTLINK)
# We must `rm' the library each time this rule is invoked because "updating" a
# MAB library on Apple/NeXT (see --enable-fat-binary in configure) is not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment