summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_netbsd.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_netbsd.GNU')
-rw-r--r--include/makeinclude/platform_netbsd.GNU4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/makeinclude/platform_netbsd.GNU b/include/makeinclude/platform_netbsd.GNU
index d1544d66ef1..b89aa0010f6 100644
--- a/include/makeinclude/platform_netbsd.GNU
+++ b/include/makeinclude/platform_netbsd.GNU
@@ -15,7 +15,7 @@ CCFLAGS += $(CFLAGS) -fno-implicit-templates
DCFLAGS += -g
DLD = ld
LD = $(CXX)
-LIBS += -lstdc++ #-lcompat -lresolv
+LIBS += /usr/lib/c++rt0.o -lstdc++ #-lcompat -lresolv
##OCFLAGS += -O2
PIC = -fpic -DPIC
AR = ar
@@ -23,5 +23,5 @@ ARFLAGS = ruv
RANLIB = ranlib
SOFLAGS = -Bshareable -x
-SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
+SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< /usr/lib/c++rt0.o
PRELIB = @echo