libpacketmark: fix call of initialization function (again)

The previous fix for ARM broke the constructor call on MIPS. Remove the
-nostartfiles linker flag to fix this.
This commit is contained in:
Matthias Schiffer 2017-11-04 20:54:04 +01:00
parent 5249974a3c
commit 16bf1f9ff1
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libpacketmark
PKG_VERSION:=2
PKG_VERSION:=3
include $(INCLUDE_DIR)/package.mk

View File

@ -1,4 +1,4 @@
all: libpacketmark.so
libpacketmark.so: libpacketmark.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -nostartfiles -shared -fPIC -o $@ $^ -ldl $(LDLIBS)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -Wall -shared -fPIC -o $@ $^ -ldl $(LDLIBS)