Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis
Created November 1, 2010 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bnoordhuis/658726 to your computer and use it in GitHub Desktop.
Save bnoordhuis/658726 to your computer and use it in GitHub Desktop.
0001-Fix-undefined-symbol-errors-when-loading-native-modu.patch
From 360b7b57b2e0261f6ba84f023fdc31f4f6e514f2 Mon Sep 17 00:00:00 2001
From: Ben Noordhuis <info@bnoordhuis.nl>
Date: Mon, 1 Nov 2010 20:34:11 +0100
Subject: [PATCH] Fix 'undefined symbol' errors when loading native modules.
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 51cd94c..85434f9 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ ifeq ($(platform),darwin)
endif
ifeq ($(platform),linux)
- LINKFLAGS += -pthread -lrt
+ LINKFLAGS += -pthread -lrt -rdynamic
endif
ifeq ($(platform),solaris)
--
1.7.0.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment