Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
lua50
lua50-5.0.2-dynamic-loading.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lua50-5.0.2-dynamic-loading.diff of Package lua50
--- Makefile +++ Makefile @@ -38,9 +38,10 @@ # shared libraries (for Linux) so: - ld -o lib/liblua.so.$V -shared src/*.o - ld -o lib/liblualib.so.$V -shared src/lib/*.o - cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so + $(CC) -o lib/liblua.so.$V -shared -Wl,-soname,liblua.so.$V src/*.o -lm + ln -fs lib/liblua.so.$V lib/liblua.so + $(CC) -o lib/liblualib.so.$V -shared -Wl,-soname,liblualib.so.$V src/lib/*.o -lm -ldl -Llib -llua + ln -fs lib/liblualib.so.$V lib/liblualib.so # binaries using shared libraries sobin: --- config +++ config @@ -25,8 +25,8 @@ # interface (e.g., Linux, Solaris, IRIX, BSD, AIX, HPUX, and probably others), # uncomment the next two lines. # -#LOADLIB= -DUSE_DLOPEN=1 -#DLLIB= -ldl +LOADLIB= -DUSE_DLOPEN=1 +DLLIB= -ldl # # In Linux with gcc, you should also uncomment the next definition for # MYLDFLAGS, which passes -E (= -export-dynamic) to the linker. This option
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor