summaryrefslogtreecommitdiff
path: root/app-admin/chroot_safe/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/chroot_safe/files')
-rw-r--r--app-admin/chroot_safe/files/chroot_safe-1.4-ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/chroot_safe/files/chroot_safe-1.4-ldflags.patch b/app-admin/chroot_safe/files/chroot_safe-1.4-ldflags.patch
new file mode 100644
index 000000000000..e9e94580ac42
--- /dev/null
+++ b/app-admin/chroot_safe/files/chroot_safe-1.4-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index ce69ab7..e8542b5 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -12,7 +12,7 @@ install=@INSTALL@
+ all: chroot_safe.so
+
+ chroot_safe.so: chroot_safe.cpp Makefile
+- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES) $(SOFLAGS) -o chroot_safe.so $<
++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(DEFINES) $(SOFLAGS) -o chroot_safe.so $<
+
+ clean:
+ rm -f *.o *.so *~