Properly pass -export-dynamic to the linker, fixes the build with lld 15
This commit is contained in:
parent
2bd7442b35
commit
35484b3a02
@ -1,7 +1,7 @@
|
||||
COMMENT = LDAP authentication plugin for OpenVPN 2.x
|
||||
|
||||
VERSION = 2.0.4
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
GH_ACCOUNT = threerings
|
||||
GH_PROJECT = openvpn-auth-ldap
|
||||
GH_TAGNAME = auth-ldap-${VERSION}
|
||||
|
@ -1,4 +1,5 @@
|
||||
Don't clobber LDFLAGS - ensures configure finds libobjc2.
|
||||
Properly pass -export-dynamic to the linker.
|
||||
|
||||
Index: platform.m4
|
||||
--- platform.m4.orig
|
||||
@ -8,7 +9,7 @@ Index: platform.m4
|
||||
PLUGIN_LD_FLAGS=""
|
||||
PLUGIN_SUFFIX=".so"
|
||||
- LDFLAGS="-export-dynamic"
|
||||
+ LDFLAGS="-export-dynamic ${LDFLAGS}"
|
||||
+ LDFLAGS="-Wl,-export-dynamic ${LDFLAGS}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user