summaryrefslogtreecommitdiff
path: root/redland/redland/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'redland/redland/makefile.mk')
-rw-r--r--redland/redland/makefile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/redland/redland/makefile.mk b/redland/redland/makefile.mk
index 01652c1..c8a04dc 100644
--- a/redland/redland/makefile.mk
+++ b/redland/redland/makefile.mk
@@ -73,7 +73,7 @@ redland_CC+=-shared-libgcc
.ENDIF
redland_LIBS=
.IF "$(MINGW_SHARED_GXXLIB)"=="YES"
-redland_LIBS+=-lstdc++_s
+redland_LIBS+=$(MINGW_SHARED_LIBSTDCPP)
.ENDIF
CONFIGURE_DIR=
@@ -90,7 +90,7 @@ BUILD_DIR=$(CONFIGURE_DIR)$/librdf
.ELSE # "WNT"
.IF "$(OS)$(COM)"=="LINUXGCC" || "$(OS)$(COM)"=="FREEBSDGCC"
-LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec -Wl,-z,noexecstack
+LDFLAGS:=-Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec
.ENDIF # "$(OS)$(COM)"=="LINUXGCC"
.IF "$(OS)$(COM)"=="SOLARISC52"
LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib'